1200
Is it possible to display the task bars with a gradient color

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/31/2009",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,96);
	var_Chart.Bars.Copy("Task","TaskO");
	exontrol.EXG2ANTTLib.Bar var_Bar = var_Chart.Bars["Task"];
		var_Bar.Pattern = exontrol.EXG2ANTTLib.PatternEnum.exPatternGradientVBox | exontrol.EXG2ANTTLib.PatternEnum.exPatternBox | exontrol.EXG2ANTTLib.PatternEnum.exPatternShadow;
		var_Bar.StartColor = Color.FromArgb(255,255,255);
		var_Bar.EndColor = var_Bar.Color;
exg2antt1.Columns.Add("Types");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Original"),"TaskO",Convert.ToDateTime("1/4/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/9/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
	var_Items.AddBar(var_Items.AddItem("Pattern Gradient"),"Task",Convert.ToDateTime("1/4/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/9/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
	var_Items.AddBar(var_Items.AddItem("Original"),"TaskO",Convert.ToDateTime("1/4/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/9/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
exg2antt1.EndUpdate();

1199
How can I know the type of bars I can displays using predefined patterns

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/31/2009",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,96);
	exontrol.EXG2ANTTLib.Bars var_Bars = var_Chart.Bars;
		var_Bars.Add("Box").Pattern = exontrol.EXG2ANTTLib.PatternEnum.exPatternBox;
		var_Bars.Add("ThickBox").Pattern = exontrol.EXG2ANTTLib.PatternEnum.exPatternThickBox | exontrol.EXG2ANTTLib.PatternEnum.exPatternBox;
		var_Bars.Add("DiagBox").Pattern = exontrol.EXG2ANTTLib.PatternEnum.exPatternThickBox | exontrol.EXG2ANTTLib.PatternEnum.exPatternBDiagonal;
		var_Bars.Copy("Task","Shadow").Pattern = exontrol.EXG2ANTTLib.PatternEnum.exPatternFrameShadow | exontrol.EXG2ANTTLib.PatternEnum.exPatternShadow;
		var_Bars.Copy("Task","TShadow").Pattern = exontrol.EXG2ANTTLib.PatternEnum.exPatternFrameShadow | exontrol.EXG2ANTTLib.PatternEnum.exPatternThickBox | exontrol.EXG2ANTTLib.PatternEnum.exPatternDiagCross;
		exontrol.EXG2ANTTLib.Bar var_Bar = var_Bars.Add("HGrad1");
			var_Bar.Pattern = exontrol.EXG2ANTTLib.PatternEnum.exPatternBox;
			var_Bar.StartColor = Color.FromArgb(255,255,255);
			var_Bar.EndColor = Color.FromArgb(0,0,255);
		exontrol.EXG2ANTTLib.Bar var_Bar1 = var_Bars.Add("HGrad2");
			var_Bar1.Pattern = exontrol.EXG2ANTTLib.PatternEnum.exPatternBox | exontrol.EXG2ANTTLib.PatternEnum.exPatternShadow;
			var_Bar1.StartColor = Color.FromArgb(255,255,255);
			var_Bar1.EndColor = Color.FromArgb(0,0,255);
			var_Bar1.Color = Color.FromArgb(0,0,255);
		exontrol.EXG2ANTTLib.Bar var_Bar2 = var_Bars.Add("HGrad3");
			var_Bar2.Pattern = exontrol.EXG2ANTTLib.PatternEnum.exPatternGradient3Colors | exontrol.EXG2ANTTLib.PatternEnum.exPatternBox | exontrol.EXG2ANTTLib.PatternEnum.exPatternShadow;
			var_Bar2.StartColor = Color.FromArgb(255,255,255);
			var_Bar2.EndColor = var_Bar2.StartColor;
			var_Bar2.Color = Color.FromArgb(0,0,255);
		exontrol.EXG2ANTTLib.Bar var_Bar3 = var_Bars.Add("HGrad4");
			var_Bar3.Pattern = exontrol.EXG2ANTTLib.PatternEnum.exPatternThickBox | exontrol.EXG2ANTTLib.PatternEnum.exPatternGradient3Colors | exontrol.EXG2ANTTLib.PatternEnum.exPatternBox;
			var_Bar3.StartColor = Color.FromArgb(255,255,255);
			var_Bar3.EndColor = var_Bar3.StartColor;
			var_Bar3.Color = Color.FromArgb(0,0,255);
		exontrol.EXG2ANTTLib.Bar var_Bar4 = var_Bars.Add("HGrad5");
			var_Bar4.Pattern = exontrol.EXG2ANTTLib.PatternEnum.exPatternFrameShadow | exontrol.EXG2ANTTLib.PatternEnum.exPatternGradient3Colors | exontrol.EXG2ANTTLib.PatternEnum.exPatternBox;
			var_Bar4.StartColor = Color.FromArgb(0,255,0);
			var_Bar4.EndColor = Color.FromArgb(255,0,0);
			var_Bar4.Color = Color.FromArgb(0,0,255);
		exontrol.EXG2ANTTLib.Bar var_Bar5 = var_Bars.Add("VGrad1");
			var_Bar5.Pattern = exontrol.EXG2ANTTLib.PatternEnum.exPatternGradientVBox | exontrol.EXG2ANTTLib.PatternEnum.exPatternBox;
			var_Bar5.StartColor = Color.FromArgb(255,255,255);
			var_Bar5.EndColor = Color.FromArgb(0,0,255);
			var_Bar5.Height = 14;
		exontrol.EXG2ANTTLib.Bar var_Bar6 = var_Bars.Add("VGrad2");
			var_Bar6.Pattern = exontrol.EXG2ANTTLib.PatternEnum.exPatternGradientVBox | exontrol.EXG2ANTTLib.PatternEnum.exPatternBox | exontrol.EXG2ANTTLib.PatternEnum.exPatternShadow;
			var_Bar6.StartColor = Color.FromArgb(255,255,255);
			var_Bar6.EndColor = Color.FromArgb(0,0,255);
			var_Bar6.Color = Color.FromArgb(0,0,255);
			var_Bar6.Height = 14;
		exontrol.EXG2ANTTLib.Bar var_Bar7 = var_Bars.Add("VGrad3");
			var_Bar7.Pattern = exontrol.EXG2ANTTLib.PatternEnum.exPatternGradient3Colors | exontrol.EXG2ANTTLib.PatternEnum.exPatternGradientVBox | exontrol.EXG2ANTTLib.PatternEnum.exPatternBox | exontrol.EXG2ANTTLib.PatternEnum.exPatternShadow;
			var_Bar7.StartColor = Color.FromArgb(255,255,255);
			var_Bar7.EndColor = var_Bar7.StartColor;
			var_Bar7.Color = Color.FromArgb(0,0,255);
			var_Bar7.Height = 14;
		exontrol.EXG2ANTTLib.Bar var_Bar8 = var_Bars.Add("VGrad4");
			var_Bar8.Pattern = exontrol.EXG2ANTTLib.PatternEnum.exPatternThickBox | exontrol.EXG2ANTTLib.PatternEnum.exPatternGradient3Colors | exontrol.EXG2ANTTLib.PatternEnum.exPatternGradientVBox | exontrol.EXG2ANTTLib.PatternEnum.exPatternBox;
			var_Bar8.StartColor = Color.FromArgb(255,255,255);
			var_Bar8.EndColor = var_Bar8.StartColor;
			var_Bar8.Color = Color.FromArgb(0,0,255);
			var_Bar8.Height = -1;
		exontrol.EXG2ANTTLib.Bar var_Bar9 = var_Bars.Add("VGrad5");
			var_Bar9.Pattern = exontrol.EXG2ANTTLib.PatternEnum.exPatternFrameShadow | exontrol.EXG2ANTTLib.PatternEnum.exPatternGradient3Colors | exontrol.EXG2ANTTLib.PatternEnum.exPatternGradientVBox | exontrol.EXG2ANTTLib.PatternEnum.exPatternBox;
			var_Bar9.StartColor = Color.FromArgb(0,255,0);
			var_Bar9.EndColor = Color.FromArgb(255,0,0);
			var_Bar9.Color = Color.FromArgb(0,0,255);
			var_Bar9.Height = 14;
exg2antt1.Columns.Add("Types");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Box"),"Box",Convert.ToDateTime("1/4/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/9/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
	var_Items.AddBar(var_Items.AddItem("Thick Box"),"ThickBox",Convert.ToDateTime("1/4/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/9/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
	var_Items.AddBar(var_Items.AddItem("Thick Box Diag"),"DiagBox",Convert.ToDateTime("1/4/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/9/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
	var_Items.AddBar(var_Items.AddItem("Shadow"),"Shadow",Convert.ToDateTime("1/4/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/9/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
	var_Items.AddBar(var_Items.AddItem("Thick Shadow"),"TShadow",Convert.ToDateTime("1/4/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/9/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
	var_Items.AddBar(var_Items.AddItem("Solid Gradient"),"HGrad1",Convert.ToDateTime("1/4/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/9/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
	var_Items.AddBar(var_Items.AddItem("Pattern Gradient"),"HGrad2",Convert.ToDateTime("1/4/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/9/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
	var_Items.AddBar(var_Items.AddItem("Pattern Gradient 3 Colors"),"HGrad3",Convert.ToDateTime("1/4/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/9/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
	var_Items.AddBar(var_Items.AddItem("Solid Gradient 3 Colors"),"HGrad4",Convert.ToDateTime("1/4/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/9/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
	var_Items.AddBar(var_Items.AddItem("Gradient Shadow"),"HGrad5",Convert.ToDateTime("1/4/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/9/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
	var_Items.AddBar(var_Items.AddItem("Solid Gradient"),"VGrad1",Convert.ToDateTime("1/4/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/9/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
	var_Items.AddBar(var_Items.AddItem("Pattern Gradient"),"VGrad2",Convert.ToDateTime("1/4/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/9/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
	var_Items.AddBar(var_Items.AddItem("Pattern Gradient 3 Colors"),"VGrad3",Convert.ToDateTime("1/4/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/9/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
	var_Items.AddBar(var_Items.AddItem("Solid Gradient 3 Colors"),"VGrad4",Convert.ToDateTime("1/4/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/9/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
	var_Items.AddBar(var_Items.AddItem("Gradient Shadow"),"VGrad5",Convert.ToDateTime("1/4/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/9/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
exg2antt1.EndUpdate();

1198
Is it possible to display the bars with a thicker border

exg2antt1.BeginUpdate();
exg2antt1.Columns.Add("Task");
exg2antt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exg2antt1.Chart.set_PaneWidth(false,48);
exg2antt1.Chart.Bars.Copy("Task","TaskB").Pattern = exontrol.EXG2ANTTLib.PatternEnum.exPatternThickBox | exontrol.EXG2ANTTLib.PatternEnum.exPatternShadow;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Task 1"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
	var_Items.AddBar(var_Items.AddItem("Task 2"),"TaskB",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
	var_Items.AddBar(var_Items.AddItem("Task 3"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
exg2antt1.EndUpdate();

1197
Is it possible to display the shadow for EBN bars

exg2antt1.BeginUpdate();
exg2antt1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
exg2antt1.Columns.Add("Task");
exg2antt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exg2antt1.Chart.set_PaneWidth(false,48);
exontrol.EXG2ANTTLib.Bar var_Bar = exg2antt1.Chart.Bars.Copy("Task","EBN");
	var_Bar.Color32 = 0x1000000;
	var_Bar.Pattern = exontrol.EXG2ANTTLib.PatternEnum.exPatternFrameShadow;
exg2antt1.Chart.Bars.Copy("Task","EBN2").Color32 = 0x1000000;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Task 1"),"EBN2",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
	var_Items.AddBar(var_Items.AddItem("Task 2"),"EBN",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
	var_Items.AddBar(var_Items.AddItem("Task 3"),"EBN2",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
exg2antt1.EndUpdate();

1196
Can I display a shadow for my bars

exg2antt1.BeginUpdate();
exg2antt1.Columns.Add("Task");
exg2antt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exg2antt1.Chart.set_PaneWidth(false,48);
exg2antt1.Chart.Bars["Task"].Pattern = exontrol.EXG2ANTTLib.PatternEnum.exPatternFrameShadow | exontrol.EXG2ANTTLib.PatternEnum.exPatternShadow;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Task 1"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
	var_Items.AddBar(var_Items.AddItem("Task 2"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
exg2antt1.EndUpdate();

1195
How can I use the Color property for gradient bars

exg2antt1.BeginUpdate();
exg2antt1.Columns.Add("Task");
exg2antt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exg2antt1.Chart.set_PaneWidth(false,48);
exontrol.EXG2ANTTLib.Bar var_Bar = exg2antt1.Chart.Bars.Add("V");
	var_Bar.Color = Color.FromArgb(255,0,0);
	var_Bar.StartColor = Color.FromArgb(0,255,0);
	var_Bar.EndColor = var_Bar.StartColor;
	var_Bar.Pattern = exontrol.EXG2ANTTLib.PatternEnum.exPatternGradient3Colors | exontrol.EXG2ANTTLib.PatternEnum.exPatternGradientVBox | exontrol.EXG2ANTTLib.PatternEnum.exPatternBox;
	var_Bar.Height = -1;
exontrol.EXG2ANTTLib.Bar var_Bar1 = exg2antt1.Chart.Bars.Add("H");
	var_Bar1.Color = Color.FromArgb(255,0,0);
	var_Bar1.StartColor = Color.FromArgb(0,255,0);
	var_Bar1.EndColor = var_Bar1.StartColor;
	var_Bar1.Pattern = exontrol.EXG2ANTTLib.PatternEnum.exPatternGradient3Colors | exontrol.EXG2ANTTLib.PatternEnum.exPatternBox;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Task 1"),"V",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
	var_Items.AddBar(var_Items.AddItem("Task 2"),"H",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
exg2antt1.EndUpdate();

1194
Is there any option to show bars with vertical gradient

exg2antt1.Columns.Add("Task");
exg2antt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exontrol.EXG2ANTTLib.Bar var_Bar = exg2antt1.Chart.Bars["Task"];
	var_Bar.Color = Color.FromArgb(255,0,0);
	var_Bar.StartColor = Color.FromArgb(0,255,0);
	var_Bar.EndColor = Color.FromArgb(255,255,0);
	var_Bar.Pattern = exontrol.EXG2ANTTLib.PatternEnum.exPatternGradientVBox | exontrol.EXG2ANTTLib.PatternEnum.exPatternBox;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Task");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);

1193
How can I define a new milestone bar

exg2antt1.BeginUpdate();
exg2antt1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
exg2antt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exontrol.EXG2ANTTLib.Bars var_Bars = exg2antt1.Chart.Bars;
	var_Bars.AddShapeCorner(12345,1);
	var_Bars.AddShapeCorner(12346,2);
	var_Bars.Copy("Milestone","M1").StartShape = (exontrol.EXG2ANTTLib.ShapeCornerEnum)0x3020 | exontrol.EXG2ANTTLib.ShapeCornerEnum.exShapeIconVBar | exontrol.EXG2ANTTLib.ShapeCornerEnum.exShapeIconRight;
	var_Bars.Copy("Milestone","M2").StartShape = (exontrol.EXG2ANTTLib.ShapeCornerEnum)0x3020 | exontrol.EXG2ANTTLib.ShapeCornerEnum.exShapeIconSquare | exontrol.EXG2ANTTLib.ShapeCornerEnum.exShapeIconRight;
	exontrol.EXG2ANTTLib.Bar var_Bar = var_Bars.Copy("Milestone","MP");
		var_Bar.StartShape = exontrol.EXG2ANTTLib.ShapeCornerEnum.exShapeIconStar;
		var_Bar.StartColor = Color.FromArgb(255,0,0);
exg2antt1.Columns.Add("Column");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Default"),"Milestone",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Predefined"),"MP",Convert.ToDateTime("1/3/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/3/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Custom 1"),"M1",Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Custom 2"),"M2",Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
exg2antt1.EndUpdate();

1192
How can I define my milestone bar, using my icons or pictures
exg2antt1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
exg2antt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exontrol.EXG2ANTTLib.Bars var_Bars = exg2antt1.Chart.Bars;
	var_Bars.AddShapeCorner(12345,1);
	var_Bars["Milestone"].StartShape = (exontrol.EXG2ANTTLib.ShapeCornerEnum)0x3020 | exontrol.EXG2ANTTLib.ShapeCornerEnum.exShapeIconVBar | exontrol.EXG2ANTTLib.ShapeCornerEnum.exShapeIconRight;
exg2antt1.Columns.Add("Column");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Item 1"),"Milestone",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);

1191
Is it possible to specify manually non-working days instead using the NonworkingDays as being repetitive

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.DrawGridLines = exontrol.EXG2ANTTLib.GridLinesEnum.exAllLines;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,0);
	var_Chart.LevelCount = 2;
	var_Chart.get_Level(0).DrawGridLines = true;
	var_Chart.ShowNonworkingUnits = false;
	var_Chart.ShowNonworkingDates = false;
	var_Chart.NonworkingDays = 0;
	var_Chart.AddNonworkingDate(Convert.ToDateTime("1/10/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Chart.AddNonworkingDate(Convert.ToDateTime("1/11/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Chart.AddNonworkingDate(Convert.ToDateTime("1/15/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Chart.AddNonworkingDate(Convert.ToDateTime("1/16/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
exg2antt1.EndUpdate();

1190
Is it possible to hide specific days

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.DrawGridLines = exontrol.EXG2ANTTLib.GridLinesEnum.exAllLines;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,0);
	var_Chart.LevelCount = 2;
	var_Chart.get_Level(0).DrawGridLines = true;
	var_Chart.ShowNonworkingUnits = false;
	var_Chart.ShowNonworkingDates = false;
	var_Chart.NonworkingDays = 128;
	var_Chart.AddNonworkingDate(Convert.ToDateTime("1/10/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Chart.AddNonworkingDate(Convert.ToDateTime("1/11/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Chart.AddNonworkingDate(Convert.ToDateTime("1/15/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Chart.AddNonworkingDate(Convert.ToDateTime("1/16/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
exg2antt1.EndUpdate();

1189
Is it possible to show or display the marked zones ONLY in the overview part of the control

exg2antt1.BeginUpdate();
exg2antt1.Columns.Add("Task");
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/14/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,48);
	var_Chart.AllowLinkBars = false;
	var_Chart.AllowCreateBar = exontrol.EXG2ANTTLib.CreateBarEnum.exNoCreateBar;
	var_Chart.OverviewVisible = exontrol.EXG2ANTTLib.OverviewVisibleEnum.exOverviewShowAllVisible;
	var_Chart.Bars["Task"].Pattern = exontrol.EXG2ANTTLib.PatternEnum.exPatternSolid;
	var_Chart.MarkTimeZone("Z1",Convert.ToDateTime("1/3/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),var_Chart.BackColor,";;Zone <b>1</b>");
	var_Chart.MarkTimeZone("Z2",Convert.ToDateTime("2/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("2/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),var_Chart.BackColor,";;Zone <b>2</b>");
	var_Chart.MarkTimeZone("Z3",Convert.ToDateTime("1/16/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/19/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),var_Chart.BackColor,";;Zone <b>3</b>");
	var_Chart.OverviewShowMarkTimeZones = true;
	var_Chart.OverviewBackColor = Color.FromArgb(220,240,240);
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h1 = var_Items.AddItem("Task 1");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	int h2 = var_Items.AddItem("Task 2");
	var_Items.AddBar(h2,"Task",Convert.ToDateTime("2/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("2/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K2",null);
	var_Items.AddLink("L1",h1,"K1",h2,"K2");
exg2antt1.EndUpdate();

1188
Is it possible to show or display the marked zones in the overview part of the control

exg2antt1.BeginUpdate();
exg2antt1.Columns.Add("Task");
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/14/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,48);
	var_Chart.AllowLinkBars = false;
	var_Chart.AllowCreateBar = exontrol.EXG2ANTTLib.CreateBarEnum.exNoCreateBar;
	var_Chart.OverviewVisible = exontrol.EXG2ANTTLib.OverviewVisibleEnum.exOverviewShowAllVisible;
	var_Chart.Bars["Task"].Pattern = exontrol.EXG2ANTTLib.PatternEnum.exPatternSolid;
	var_Chart.MarkTimeZone("Z1",Convert.ToDateTime("1/3/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),16777056,null);
	var_Chart.MarkTimeZone("Z2",Convert.ToDateTime("2/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("2/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),16744544,null);
	var_Chart.MarkTimeZone("Z3",Convert.ToDateTime("1/16/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/19/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),16744544,null);
	var_Chart.OverviewShowMarkTimeZones = true;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h1 = var_Items.AddItem("Task 1");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	int h2 = var_Items.AddItem("Task 2");
	var_Items.AddBar(h2,"Task",Convert.ToDateTime("2/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("2/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K2",null);
	var_Items.AddLink("L1",h1,"K1",h2,"K2");
exg2antt1.EndUpdate();

1187
Is there a quick way to determine if a bar belongs to a group
exg2antt1.Columns.Add("Task");
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,64);
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h1 = var_Items.AddItem("Task 1");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	int h2 = var_Items.AddItem("Task 2");
	var_Items.AddBar(h2,"Task",Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K2",null);
	int h3 = var_Items.AddItem("Task 3");
	var_Items.AddBar(h3,"Task",Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K3",null);
	var_Items.GroupBars(h1,"K1",true,h2,"K2",true,null,null);
	var_Items.GroupBars(h1,"K1",false,h2,"K2",false,null,null);
	var_Items.GroupBars(h1,"K1",true,h3,"K3",true,null,null);
	var_Items.GroupBars(h1,"K1",false,h3,"K3",false,null,null);
	System.Diagnostics.Debug.Print( var_Items.get_ItemBar(h1,"K1",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarsGroup).ToString() );

1186
I am using the ScrollRange property to limit the chart's visible area, but it does not work as expected. What could be wrong
exg2antt1.BeginUpdate();
exg2antt1.Columns.Add("Task");
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,56);
	var_Chart.set_ScrollRange(exontrol.EXG2ANTTLib.ScrollRangeEnum.exStartDate,Convert.ToDateTime("1/1/100",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Chart.set_ScrollRange(exontrol.EXG2ANTTLib.ScrollRangeEnum.exEndDate,Convert.ToDateTime("12/31/9999",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Chart.FirstVisibleDate = Convert.ToDateTime("4/28/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exg2antt1.set_ScrollPartCaption(exontrol.EXG2ANTTLib.ScrollBarEnum.exHChartScroll,exontrol.EXG2ANTTLib.ScrollPartEnum.exLowerBackPart,exg2antt1.Chart.get_ScrollRange(exontrol.EXG2ANTTLib.ScrollRangeEnum.exStartDate).ToString());
exg2antt1.set_ScrollPartCaptionAlignment(exontrol.EXG2ANTTLib.ScrollBarEnum.exHChartScroll,exontrol.EXG2ANTTLib.ScrollPartEnum.exLowerBackPart,exontrol.EXG2ANTTLib.AlignmentEnum.LeftAlignment);
exg2antt1.set_ScrollPartCaption(exontrol.EXG2ANTTLib.ScrollBarEnum.exHChartScroll,exontrol.EXG2ANTTLib.ScrollPartEnum.exUpperBackPart,exg2antt1.Chart.get_ScrollRange(exontrol.EXG2ANTTLib.ScrollRangeEnum.exEndDate).ToString());
exg2antt1.set_ScrollPartCaptionAlignment(exontrol.EXG2ANTTLib.ScrollBarEnum.exHChartScroll,exontrol.EXG2ANTTLib.ScrollPartEnum.exUpperBackPart,exontrol.EXG2ANTTLib.AlignmentEnum.RightAlignment);
exg2antt1.EndUpdate();

1185
Are you planning to add a AddNonworkingDate / AddNonworkingDay for separate items

exg2antt1.BeginUpdate();
exg2antt1.AllowChartScrollPage = true;
exg2antt1.Columns.Add("Non-Work");
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("4/4/2009",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,52);
	var_Chart.LevelCount = 2;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddItem("Default");
	var_Items.set_ItemNonworkingUnits(var_Items.AddItem("Test 1"),false,"shortdate(value) in (#4/5/2009#,#4/6/2009#)");
	var_Items.set_ItemNonworkingUnits(var_Items.AddItem("Test 2"),false,"shortdate(value) in (#4/6/2009#,#4/7/2009#)");
	var_Items.set_ItemNonworkingUnits(var_Items.AddItem("Test 3"),false,"shortdate(value) in (#4/7/2009#,#4/9/2009#)");
	var_Items.AddItem("Default");
exg2antt1.EndUpdate();

1184
How can I enlarge the EBN being applied to an object

exg2antt1.BeginUpdate();
exg2antt1.DefaultItemHeight = 32;
exontrol.EXG2ANTTLib.Appearance var_Appearance = exg2antt1.VisualAppearance;
	var_Appearance.Add(2,"c:\\exontrol\\images\\normal.ebn");
	var_Appearance.Add(1,"CP:2 -3 -2 3 2");
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.SelBarColor32 = 0x1000000;
	var_Chart.set_PaneWidth(false,48);
exg2antt1.Columns.Add("Task");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Task 1");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A",null);
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/6/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"B",null);
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/11/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/14/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"C",null);
	var_Items.set_ItemBar(h,"A",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarSelected,true);
	var_Items.set_ItemBar(h,"B",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarSelected,true);
exg2antt1.EndUpdate();

1183
I am using EBN to display my bars but the bars shows in black in the overview area. Is there any option to specify a different color in the overview part of the control

exg2antt1.BeginUpdate();
exg2antt1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.Bars["Task"].Color32 = 0x1000000;
	var_Chart.set_PaneWidth(false,48);
	var_Chart.OverviewVisible = exontrol.EXG2ANTTLib.OverviewVisibleEnum.exOverviewShowAllVisible;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/11/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
exg2antt1.Columns.Add("Column");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Task 1");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),1,null);
	var_Items.set_ItemBar(h,1,exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarOverviewColor,8821418);
	var_Items.AddBar(h,"Task",Convert.ToDateTime("2/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("2/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),2,null);
	var_Items.set_ItemBar(h,2,exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarOverviewColor,8821418);
	h = var_Items.AddItem("Task 2");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("2/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("2/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
	var_Items.set_ItemBar(h,"",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarOverviewColor,8821418);
exg2antt1.EndUpdate();

1182
I haven't found options to localize (in Italian) the strings ( dates, tooltip ) that shows in the chart area

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,0);
	var_Chart.set_Label(exontrol.EXG2ANTTLib.UnitEnum.exWeek,"<|><%ww%><|><%d%> <%m3%> '<%yy%><r><%ww%><|><%d%> <%mmmm%> <%yyyy%><r><%ww%><||><||>256");
	var_Chart.set_Label(exontrol.EXG2ANTTLib.UnitEnum.exDay,"<|><%d1%><|><%d2%><|><%d3%><|><%dddd%><|><%d3%> <%d%> <%m3%> '<%yy%><|><%dddd%> <%d%> <%mmmm%> <%yyyy%><||><||>4096");
	var_Chart.set_LabelToolTip(exontrol.EXG2ANTTLib.UnitEnum.exWeek,"<%d%> <%mmmm%> <%yyyy%> <%ww%>");
	var_Chart.set_LabelToolTip(exontrol.EXG2ANTTLib.UnitEnum.exDay,"<%dddd%> <%d%> <%mmmm%> <%yyyy%>");
	var_Chart.FirstWeekDay = exontrol.EXG2ANTTLib.WeekDayEnum.exMonday;
	var_Chart.MonthNames = "gennaio febbraio marzo aprile maggio giugno luglio agosto settembre ottobre novembre dicembre";
	var_Chart.WeekDays = "domenica lunedì martedì mercoledì giovedì venerdì sabato";
	var_Chart.ToolTip = "<%dddd%> <%d%> <%mmmm%> <%yyyy%>";
	var_Chart.UnitScale = exontrol.EXG2ANTTLib.UnitEnum.exDay;
exg2antt1.EndUpdate();

1181
I haven't found options to localize (in Dutch) the strings ( dates, tooltip ) that shows in the chart area

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,0);
	var_Chart.set_Label(exontrol.EXG2ANTTLib.UnitEnum.exWeek,"<|><%ww%><|><%d%> <%m3%> '<%yy%><r><%ww%><|><%d%> <%mmmm%> <%yyyy%><r><%ww%><||><||>256");
	var_Chart.set_Label(exontrol.EXG2ANTTLib.UnitEnum.exDay,"<|><%d1%><|><%d2%><|><%d3%><|><%dddd%><|><%d3%> <%d%> <%m3%> '<%yy%><|><%dddd%> <%d%> <%mmmm%> <%yyyy%><||><||>4096");
	var_Chart.set_LabelToolTip(exontrol.EXG2ANTTLib.UnitEnum.exWeek,"<%d%> <%mmmm%> <%yyyy%> <%ww%>");
	var_Chart.set_LabelToolTip(exontrol.EXG2ANTTLib.UnitEnum.exDay,"<%dddd%> <%d%> <%mmmm%> <%yyyy%>");
	var_Chart.FirstWeekDay = exontrol.EXG2ANTTLib.WeekDayEnum.exMonday;
	var_Chart.MonthNames = "januari februari maart april mei juni juli augusts september oktober november december";
	var_Chart.WeekDays = "zondag maandag dinsdag woensdag donderdag vrijdag zaterdag";
	var_Chart.ToolTip = "<%dddd%> <%d%> <%mmmm%> <%yyyy%>";
	var_Chart.UnitScale = exontrol.EXG2ANTTLib.UnitEnum.exDay;
exg2antt1.EndUpdate();

1180
I haven't found options to localize (in German) the strings ( dates, tooltip ) that shows in the chart area (method 1)

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,0);
	var_Chart.set_Label(exontrol.EXG2ANTTLib.UnitEnum.exWeek,"<|><%ww%><|><%d%> <%m3%> '<%yy%><r><%ww%><|><%d%>.<%mmmm%> <%yyyy%><r><%ww%><||><||>256");
	var_Chart.set_Label(exontrol.EXG2ANTTLib.UnitEnum.exDay,"<|><%d1%><|><%d2%><|><%d3%><|><%dddd%><|><%d3%> <%d%>.<%m3%> '<%yy%><|><%dddd%> <%d%>.<%mmmm%> <%yyyy%><||><||>4096");
	var_Chart.set_LabelToolTip(exontrol.EXG2ANTTLib.UnitEnum.exWeek,"<%d%>.<%mmmm%> <%yyyy%> <%ww%>");
	var_Chart.set_LabelToolTip(exontrol.EXG2ANTTLib.UnitEnum.exDay,"<%dddd%>, <%d%>.<%mmmm%> <%yyyy%>");
	var_Chart.FirstWeekDay = exontrol.EXG2ANTTLib.WeekDayEnum.exMonday;
	var_Chart.MonthNames = "Januar Februar März April Mai Juni Juli August September Oktober November Dezember";
	var_Chart.WeekDays = "Sonntag Montag Dienstag Mittwoch Donnerstag Freitag Samstag";
	var_Chart.ToolTip = "<%dddd%>,<%d%>.<%mmmm%> <%yyyy%>";
	var_Chart.UnitScale = exontrol.EXG2ANTTLib.UnitEnum.exDay;
exg2antt1.EndUpdate();

1179
I haven't found options to localize (in French) the strings ( dates, tooltip ) that shows in the chart area

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,0);
	var_Chart.set_Label(exontrol.EXG2ANTTLib.UnitEnum.exWeek,"<|><%ww%><|><%d%> <%m3%> '<%yy%><r><%ww%><|><%d%> <%mmmm%> <%yyyy%><r><%ww%><||><||>256");
	var_Chart.set_Label(exontrol.EXG2ANTTLib.UnitEnum.exDay,"<|><%d1%><|><%d2%><|><%d3%><|><%dddd%><|><%d3%> <%d%> <%m3%> '<%yy%><|><%dddd%> <%d%> <%mmmm%> <%yyyy%><||><||>4096");
	var_Chart.set_LabelToolTip(exontrol.EXG2ANTTLib.UnitEnum.exWeek,"<%d%> <%mmmm%> <%yyyy%> <%ww%>");
	var_Chart.set_LabelToolTip(exontrol.EXG2ANTTLib.UnitEnum.exDay,"<%dddd%> <%d%> <%mmmm%> <%yyyy%>");
	var_Chart.FirstWeekDay = exontrol.EXG2ANTTLib.WeekDayEnum.exMonday;
	var_Chart.MonthNames = "janvier février mars avril mai juin juillet août septembre octobre novembre décembre";
	var_Chart.WeekDays = "dimanche lundi mardi mercredi jeudi vendredi samedi";
	var_Chart.ToolTip = "<%dddd%> <%d%> <%mmmm%> <%yyyy%>";
	var_Chart.UnitScale = exontrol.EXG2ANTTLib.UnitEnum.exDay;
exg2antt1.EndUpdate();

1178
How can I determine the last visible date in the chart
// MouseMove event - Occurs when the user moves the mouse.
private void exg2antt1_MouseMoveEvent(object sender,short   Button,short   Shift,int   X,int   Y)
{
	System.Diagnostics.Debug.Print( "First" );
	System.Diagnostics.Debug.Print( exg2antt1.Chart.FirstVisibleDate.ToString() );
	System.Diagnostics.Debug.Print( "Last" );
	System.Diagnostics.Debug.Print( exg2antt1.Chart.get_DateFromPoint(1,-1).ToString() );
}
//this.exg2antt1.MouseMoveEvent += new exontrol.EXG2ANTTLib.exg2antt.MouseMoveEventHandler(this.exg2antt1_MouseMoveEvent);

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,1);
exg2antt1.EndUpdate();

1177
How can I filter programatically using more columns
exg2antt1.BeginUpdate();
exg2antt1.Chart.set_PaneWidth(true,0);
exg2antt1.MarkSearchColumn = false;
exontrol.EXG2ANTTLib.Columns var_Columns = exg2antt1.Columns;
	var_Columns.Add("Car");
	var_Columns.Add("Equipment");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.set_CellValue(var_Items.AddItem("Mazda"),1,"Air Bag");
	var_Items.set_CellValue(var_Items.AddItem("Toyota"),1,"Air Bag,Air condition");
	var_Items.set_CellValue(var_Items.AddItem("Ford"),1,"Air condition");
	var_Items.set_CellValue(var_Items.AddItem("Nissan"),1,"Air Bag,ABS,ESP");
	var_Items.set_CellValue(var_Items.AddItem("Mazda"),1,"Air Bag, ABS,ESP");
	var_Items.set_CellValue(var_Items.AddItem("Mazda"),1,"ABS,ESP");
exontrol.EXG2ANTTLib.Column var_Column = exg2antt1.Columns["Car"];
	var_Column.FilterType = exontrol.EXG2ANTTLib.FilterTypeEnum.exFilter;
	var_Column.Filter = "Mazda";
exontrol.EXG2ANTTLib.Column var_Column1 = exg2antt1.Columns["Equipment"];
	var_Column1.FilterType = exontrol.EXG2ANTTLib.FilterTypeEnum.exPattern;
	var_Column1.Filter = "*ABS*|*ESP*";
exg2antt1.ApplyFilter();
exg2antt1.EndUpdate();

1176
Do you have scheduling functionality in Gantt (meaning scheduling several activities (bars) depending on their start and finish dates with considering dependencies to other activities
// BarResize event - Occurs when a bar is moved or resized.
private void exg2antt1_BarResize(object sender,int   Item,object   Key)
{
	exg2antt1.Items.SchedulePDM(Item,Key);
}
//this.exg2antt1.BarResize += new exontrol.EXG2ANTTLib.exg2antt.BarResizeEventHandler(this.exg2antt1_BarResize);

exg2antt1.BeginUpdate();
exg2antt1.Items.AllowCellValueToItemBar = true;
exg2antt1.Columns.Add("Task");
(exg2antt1.Columns.Add("Working") as exontrol.EXG2ANTTLib.Column).set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,258);
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.Bars.Add("Task:Split").Shortcut = "Task";
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/28/2000",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,96);
	var_Chart.AllowLinkBars = false;
	var_Chart.AllowCreateBar = exontrol.EXG2ANTTLib.CreateBarEnum.exNoCreateBar;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h1 = var_Items.AddItem("Task 1");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
	int h2 = var_Items.AddItem("Task 2");
	var_Items.AddBar(h2,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
	var_Items.AddLink("L1",h1,"",h2,"");
	int h3 = var_Items.AddItem("Task 3");
	var_Items.AddBar(h3,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
	var_Items.AddLink("L2",h2,"",h3,"");
	var_Items.set_Link("L2",exontrol.EXG2ANTTLib.LinkPropertyEnum.exLinkText,"FF");
	var_Items.set_Link("L2",exontrol.EXG2ANTTLib.LinkPropertyEnum.exLinkStartPos,2);
	var_Items.set_Link("L2",exontrol.EXG2ANTTLib.LinkPropertyEnum.exLinkEndPos,2);
	int h4 = var_Items.AddItem("Task 4");
	var_Items.AddBar(h4,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
	var_Items.AddLink("L3",h4,"",h3,"");
	var_Items.set_ItemBar(0,"<*>",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarKeepWorkingCount,true);
	var_Items.SchedulePDM(var_Items.FirstVisibleItem,"");
exg2antt1.EndUpdate();

1175
How can I show the ticks for a single slider field
exg2antt1.BeginUpdate();
(exg2antt1.Columns.Add("Slider") as exontrol.EXG2ANTTLib.Column).Editor.EditType = exontrol.EXG2ANTTLib.EditTypeEnum.SliderType;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddItem(10);
	exontrol.EXG2ANTTLib.Editor var_Editor = var_Items.get_CellEditor(var_Items.AddItem(20),0);
		var_Editor.EditType = exontrol.EXG2ANTTLib.EditTypeEnum.SliderType;
		var_Editor.set_Option(exontrol.EXG2ANTTLib.EditorOptionEnum.exSliderTickFrequency,10);
	var_Items.AddItem(30);
exg2antt1.EndUpdate();

1174
Is it possible to show ticks for slider fields
exontrol.EXG2ANTTLib.Editor var_Editor = (exg2antt1.Columns.Add("Slider") as exontrol.EXG2ANTTLib.Column).Editor;
	var_Editor.EditType = exontrol.EXG2ANTTLib.EditTypeEnum.SliderType;
	var_Editor.set_Option(exontrol.EXG2ANTTLib.EditorOptionEnum.exSliderTickFrequency,10);
exg2antt1.Items.AddItem(10);

1173
How can I group two bars so the distance between them is limited to a specified range

exg2antt1.BeginUpdate();
exg2antt1.Columns.Add("Tasks");
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("9/20/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,48);
	var_Chart.LevelCount = 2;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h1 = var_Items.AddItem("Task 1");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("9/21/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("9/24/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	int h2 = var_Items.AddItem("Task 2");
	var_Items.AddBar(h2,"Unknown",Convert.ToDateTime("9/25/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("9/28/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddLink("L1",h1,"",h2,"");
	var_Items.GroupBars(h1,"",false,h2,"",true,31,"1;2");
	System.Diagnostics.Debug.Print( "The distance between A and B is limited between 1 and 3 days" );
	System.Diagnostics.Debug.Print( "The B is always after the A" );
exg2antt1.EndUpdate();

1172
How can I group two bars so the distance between them is flexible but never less than a specified value

exg2antt1.BeginUpdate();
exg2antt1.Columns.Add("Tasks");
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("9/20/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,48);
	var_Chart.LevelCount = 2;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h1 = var_Items.AddItem("Task 1");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("9/21/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("9/24/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	int h2 = var_Items.AddItem("Task 2");
	var_Items.AddBar(h2,"Unknown",Convert.ToDateTime("9/26/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("9/29/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddLink("L1",h1,"",h2,"");
	var_Items.GroupBars(h1,"",false,h2,"",true,39,"2");
	System.Diagnostics.Debug.Print( "The distance between A and B is never less than 2 days" );
	System.Diagnostics.Debug.Print( "The B is always after the A" );
exg2antt1.EndUpdate();

1171
How can I group two bars so the distance between them is flexible

exg2antt1.BeginUpdate();
exg2antt1.Columns.Add("Tasks");
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("9/20/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,48);
	var_Chart.LevelCount = 2;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h1 = var_Items.AddItem("Task 1");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("9/21/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("9/24/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	int h2 = var_Items.AddItem("Task 2");
	var_Items.AddBar(h2,"Unknown",Convert.ToDateTime("9/26/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("9/29/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddLink("L1",h1,"",h2,"");
	var_Items.GroupBars(h1,"",false,h2,"",true,39,null);
	System.Diagnostics.Debug.Print( "The distance between A and B is flexible, unlimited" );
	System.Diagnostics.Debug.Print( "The B is always after the A" );
exg2antt1.EndUpdate();

1170
How can I group two bars so the interval between them is fixed

exg2antt1.BeginUpdate();
exg2antt1.Columns.Add("Tasks");
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("9/20/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,48);
	var_Chart.LevelCount = 2;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Task 1");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("9/21/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("9/24/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"T1","A");
	var_Items.AddBar(h,"Unknown",Convert.ToDateTime("9/26/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("9/29/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"T2","B");
	var_Items.AddLink("L",h,"T1",h,"T2");
	var_Items.set_Link("L",exontrol.EXG2ANTTLib.LinkPropertyEnum.exLinkGroupBars,27);
	var_Items.set_Link("L",exontrol.EXG2ANTTLib.LinkPropertyEnum.exLinkShowDir,false);
	int h2 = var_Items.AddItem("Task 2");
	var_Items.AddBar(h2,"Unknown",Convert.ToDateTime("9/26/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("9/29/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"T2","B");
	var_Items.AddLink("L2",h,"T1",h2,"T2");
	var_Items.set_Link("L2",exontrol.EXG2ANTTLib.LinkPropertyEnum.exLinkGroupBars,27);
	var_Items.set_Link("L2",exontrol.EXG2ANTTLib.LinkPropertyEnum.exLinkShowDir,false);
	System.Diagnostics.Debug.Print( "The distance between bars is constant" );
	System.Diagnostics.Debug.Print( "The B is always after the A" );
exg2antt1.EndUpdate();

1169
How can I group two bars when linking, so moving the first bar will makes the second to move accordingly

exg2antt1.BeginUpdate();
exg2antt1.Columns.Add("Tasks");
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("9/20/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,48);
	var_Chart.LevelCount = 2;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h1 = var_Items.AddItem("Task 1");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("9/21/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("9/24/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"","A");
	int h2 = var_Items.AddItem("Task 2");
	var_Items.AddBar(h2,"Unknown",Convert.ToDateTime("9/26/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("9/29/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"","B");
	var_Items.AddLink("L1",h1,"",h2,"");
	var_Items.set_Link("L1",exontrol.EXG2ANTTLib.LinkPropertyEnum.exLinkGroupBars,39);
	System.Diagnostics.Debug.Print( "The distance between A and B is flexible, unlimited" );
	System.Diagnostics.Debug.Print( "The B is always after the A" );
exg2antt1.EndUpdate();

1168
Is it possible to be notified when the user clicks an anchor element a hyperlink in the date-time zone

// AnchorClick event - Occurs when an anchor element is clicked.
private void exg2antt1_AnchorClick(object sender,string   AnchorID,string   Options)
{
	System.Diagnostics.Debug.Print( "Click: " );
	System.Diagnostics.Debug.Print( AnchorID.ToString() );
}
//this.exg2antt1.AnchorClick += new exontrol.EXG2ANTTLib.exg2antt.AnchorClickEventHandler(this.exg2antt1_AnchorClick);

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/28/2000",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,48);
	var_Chart.MarkTimeZone("Z",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),15753471,";32;Caption <a1><b>1</b></a>;1;Caption <a2><b>2</b></a>;17;Caption <a3><b>3</b></a>");
exg2antt1.EndUpdate();

1167
Is it possible to be notified when the user clicks a date-time zone

// Click event - Occurs when the user presses and then releases the left mouse button over the tree control.
private void exg2antt1_Click(object sender)
{
	exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
		System.Diagnostics.Debug.Print( "Click: " );
		System.Diagnostics.Debug.Print( var_Chart.get_TimeZoneFromPoint(-1,-1).ToString() );
}
//this.exg2antt1.Click += new exontrol.EXG2ANTTLib.exg2antt.ClickEventHandler(this.exg2antt1_Click);

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/28/2000",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,48);
	var_Chart.MarkTimeZone("Z",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),16711680,";32;DATE-TIME<br>    ZONE");
exg2antt1.EndUpdate();

1166
Is is possible to display multiple captions in the same date-time zone

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/28/2000",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,48);
	var_Chart.MarkTimeZone("Z",Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),12895487,";;Caption <b>1</b>;1;Caption <b>2</b>;17;Caption <b>3</b>");
exg2antt1.EndUpdate();

1165
Is is possible to align on the top the caption for the date-time zone

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/28/2000",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,48);
	var_Chart.MarkTimeZone("Z",Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),12895487,";;UpperCenter;1");
exg2antt1.EndUpdate();

1164
Is there any option to display a picture on the date-time zone

exg2antt1.BeginUpdate();
exg2antt1.set_HTMLPicture("pic1","c:\\exontrol\\images\\card.png");
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/28/2000",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,48);
	var_Chart.MarkTimeZone("Z",Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),12895487,";;<c><img>pic1</img><br><c>picture");
exg2antt1.EndUpdate();

1163
Is there any option to display a text or a HTML caption on the date-time zone

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/28/2000",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,48);
	var_Chart.MarkTimeZone("Z1",Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),12895487,";;zone <b>1</b>");
	var_Chart.MarkTimeZone("Z2",Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),12895487,";;zone <b>2</b>");
exg2antt1.EndUpdate();

1162
How can I display the date-time zone using a semi-transparent EBN object

exg2antt1.BeginUpdate();
exg2antt1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
exg2antt1.Columns.Add("Task");
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/28/2000",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,48);
	var_Chart.AllowLinkBars = false;
	var_Chart.AllowCreateBar = exontrol.EXG2ANTTLib.CreateBarEnum.exNoCreateBar;
	var_Chart.Bars["Task"].Pattern = exontrol.EXG2ANTTLib.PatternEnum.exPatternSolid;
	var_Chart.MarkTimeZone("Z1",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/3/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),16777056,";;Solid");
	var_Chart.MarkTimeZone("Z2",Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),16777216,"50;;EBN");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h1 = var_Items.AddItem("Task 1");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	int h2 = var_Items.AddItem("Task 2");
	var_Items.AddBar(h2,"Task",Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K2",null);
	var_Items.AddLink("L1",h1,"K1",h2,"K2");
exg2antt1.EndUpdate();

1161
How can I display the date-time zone using an EBN or a skin instead a solid color

exg2antt1.BeginUpdate();
exg2antt1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
exg2antt1.Columns.Add("Task");
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/28/2000",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,48);
	var_Chart.AllowLinkBars = false;
	var_Chart.AllowCreateBar = exontrol.EXG2ANTTLib.CreateBarEnum.exNoCreateBar;
	var_Chart.Bars["Task"].Pattern = exontrol.EXG2ANTTLib.PatternEnum.exPatternSolid;
	var_Chart.MarkTimeZone("Z1",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/3/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),16777056,";;Solid");
	var_Chart.MarkTimeZone("Z2",Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),16777216,";;EBN");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h1 = var_Items.AddItem("Task 1");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	int h2 = var_Items.AddItem("Task 2");
	var_Items.AddBar(h2,"Task",Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K2",null);
	var_Items.AddLink("L1",h1,"K1",h2,"K2");
exg2antt1.EndUpdate();

1160
How can I display the date-time zone using a pattern instead a solid color

exg2antt1.BeginUpdate();
exg2antt1.Columns.Add("Task");
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/28/2000",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,48);
	var_Chart.AllowLinkBars = false;
	var_Chart.AllowCreateBar = exontrol.EXG2ANTTLib.CreateBarEnum.exNoCreateBar;
	var_Chart.Bars["Task"].Pattern = exontrol.EXG2ANTTLib.PatternEnum.exPatternSolid;
	var_Chart.MarkTimeZone("Z1",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/3/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),16777056,";;Solid");
	var_Chart.MarkTimeZone("Z2",Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),16777056,";12;Pattern");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h1 = var_Items.AddItem("Task 1");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	int h2 = var_Items.AddItem("Task 2");
	var_Items.AddBar(h2,"Task",Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K2",null);
	var_Items.AddLink("L1",h1,"K1",h2,"K2");
exg2antt1.EndUpdate();

1159
How can I display the date-time zone using a transparent color

exg2antt1.BeginUpdate();
exg2antt1.Columns.Add("Task");
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/28/2000",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,48);
	var_Chart.AllowLinkBars = false;
	var_Chart.AllowCreateBar = exontrol.EXG2ANTTLib.CreateBarEnum.exNoCreateBar;
	var_Chart.Bars["Task"].Pattern = exontrol.EXG2ANTTLib.PatternEnum.exPatternSolid;
	var_Chart.MarkTimeZone("Z1",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/3/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),16777056,";;Opaque");
	var_Chart.MarkTimeZone("Z2",Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),16777056,"50;;Semi-Transparent");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h1 = var_Items.AddItem("Task 1");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	int h2 = var_Items.AddItem("Task 2");
	var_Items.AddBar(h2,"Task",Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K2",null);
	var_Items.AddLink("L1",h1,"K1",h2,"K2");
exg2antt1.EndUpdate();

1158
The date time zone is shown behind the bars, is there any way to show it over

exg2antt1.BeginUpdate();
exg2antt1.Columns.Add("Task");
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/28/2000",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,48);
	var_Chart.AllowLinkBars = false;
	var_Chart.AllowCreateBar = exontrol.EXG2ANTTLib.CreateBarEnum.exNoCreateBar;
	var_Chart.Bars["Task"].Pattern = exontrol.EXG2ANTTLib.PatternEnum.exPatternSolid;
	var_Chart.MarkTimeZone("Z1",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/3/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),16777056,null);
	var_Chart.MarkTimeZone("Z2",Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),16777056,"1");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h1 = var_Items.AddItem("Task 1");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	int h2 = var_Items.AddItem("Task 2");
	var_Items.AddBar(h2,"Task",Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K2",null);
	var_Items.AddLink("L1",h1,"K1",h2,"K2");
exg2antt1.EndUpdate();

1157
How can I get ifnromation about a date-time zone
// MouseMove event - Occurs when the user moves the mouse.
private void exg2antt1_MouseMoveEvent(object sender,short   Button,short   Shift,int   X,int   Y)
{
	exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
		System.Diagnostics.Debug.Print( var_Chart.get_TimeZoneInfo(var_Chart.get_TimeZoneFromPoint(-1,-1)).ToString() );
}
//this.exg2antt1.MouseMoveEvent += new exontrol.EXG2ANTTLib.exg2antt.MouseMoveEventHandler(this.exg2antt1_MouseMoveEvent);

exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.set_PaneWidth(false,18);
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.MarkTimeZone("Z1",Convert.ToDateTime("1/4/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/8/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),16744544,null);
	var_Chart.MarkTimeZone("Z2",Convert.ToDateTime("1/12/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/18/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),16761952,null);

1156
How can I determine the zone from the cursor
// MouseMove event - Occurs when the user moves the mouse.
private void exg2antt1_MouseMoveEvent(object sender,short   Button,short   Shift,int   X,int   Y)
{
	exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
		System.Diagnostics.Debug.Print( var_Chart.get_TimeZoneFromPoint(-1,-1).ToString() );
}
//this.exg2antt1.MouseMoveEvent += new exontrol.EXG2ANTTLib.exg2antt.MouseMoveEventHandler(this.exg2antt1_MouseMoveEvent);

exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.set_PaneWidth(false,18);
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.MarkTimeZone("Z1",Convert.ToDateTime("1/4/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/8/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),16744544,null);
	var_Chart.MarkTimeZone("Z2",Convert.ToDateTime("1/12/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/18/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),16761952,null);

1155
How can I highlight multiple date-time zones (ranges)

exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.set_PaneWidth(false,18);
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.MarkTimeZone("Z1",Convert.ToDateTime("1/4/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/8/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),16744544,null);
	var_Chart.MarkTimeZone("Z2",Convert.ToDateTime("1/12/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/18/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),16761952,null);

1154
How can I highlight a date-time range
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.set_PaneWidth(false,18);
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.MarkTimeZone("Z1",Convert.ToDateTime("1/4/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/8/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),16744544,null);

1153
How do I get the list of selected date
// ChartEndChanging event - Occurs after the chart has been changed.
private void exg2antt1_ChartEndChanging(object sender,exontrol.EXG2ANTTLib.BarOperationEnum   Operation)
{
	System.Diagnostics.Debug.Print( Operation.ToString() );
	System.Diagnostics.Debug.Print( exg2antt1.Chart.SelectDates.ToString() );
}
//this.exg2antt1.ChartEndChanging += new exontrol.EXG2ANTTLib.exg2antt.ChartEndChangingEventHandler(this.exg2antt1_ChartEndChanging);

exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,0);
	var_Chart.MarkTodayColor = var_Chart.BackColor;

1152
Is there any function I can use to find the bars that intersect with the current bar

// BarResizing event - Occurs when a bar is moving or resizing.
private void exg2antt1_BarResizing(object sender,int   Item,object   Key)
{
	exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
		System.Diagnostics.Debug.Print( Key.ToString() );
		System.Diagnostics.Debug.Print( "intesect with" );
		System.Diagnostics.Debug.Print( var_Items.get_ItemBar(Item,Key,exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarIntersectWithAsString).ToString() );
}
//this.exg2antt1.BarResizing += new exontrol.EXG2ANTTLib.exg2antt.BarResizingEventHandler(this.exg2antt1_BarResizing);

exg2antt1.BeginUpdate();
exg2antt1.DefaultItemHeight = 22;
exg2antt1.Columns.Add("Task");
exg2antt1.ScrollBySingleLine = true;
exg2antt1.DrawGridLines = exontrol.EXG2ANTTLib.GridLinesEnum.exAllLines;
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.DrawGridLines = exontrol.EXG2ANTTLib.GridLinesEnum.exAllLines;
	var_Chart.set_PaneWidth(false,48);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/28/2000",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.Bars["Task"].OverlaidType = exontrol.EXG2ANTTLib.OverlaidBarsTypeEnum.exOverlaidBarsOffset;
	var_Chart.ResizeUnitScale = exontrol.EXG2ANTTLib.UnitEnum.exHour;
	var_Chart.AllowCreateBar = exontrol.EXG2ANTTLib.CreateBarEnum.exCreateBarAuto;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h1 = var_Items.AddItem("Default");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A1","A1");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("1/3/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A2","A2");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A3","A3");
exg2antt1.EndUpdate();

1151
Is it possible to order the bars on top of other bars

exg2antt1.BeginUpdate();
exg2antt1.DefaultItemHeight = 22;
exg2antt1.Columns.Add("Task");
exg2antt1.ScrollBySingleLine = true;
exg2antt1.DrawGridLines = exontrol.EXG2ANTTLib.GridLinesEnum.exAllLines;
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.DrawGridLines = exontrol.EXG2ANTTLib.GridLinesEnum.exAllLines;
	var_Chart.set_PaneWidth(false,48);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/28/2000",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.Bars.Copy("Task","NTask").OverlaidType = exontrol.EXG2ANTTLib.OverlaidBarsTypeEnum.exOverlaidBarsOffset;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h1 = var_Items.AddItem("Default");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A1",null);
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("1/3/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A2",null);
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A3",null);
	int h2 = var_Items.AddItem("Overlaid");
	var_Items.AddBar(h2,"NTask",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A1",null);
	var_Items.AddBar(h2,"NTask",Convert.ToDateTime("1/3/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A2",null);
	var_Items.AddBar(h2,"NTask",Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A3",null);
	var_Items.GroupBars(h1,"A1",true,h2,"A1",true,null,null);
	var_Items.GroupBars(h1,"A1",false,h2,"A1",false,null,null);
	var_Items.GroupBars(h1,"A2",true,h2,"A2",true,null,null);
	var_Items.GroupBars(h1,"A2",false,h2,"A2",false,null,null);
	var_Items.GroupBars(h1,"A3",true,h2,"A3",true,null,null);
	var_Items.GroupBars(h1,"A3",false,h2,"A3",false,null,null);
exg2antt1.EndUpdate();

1150
Is it possible to order the bars on top of other bars (have different colurs so that they can be seen)

exg2antt1.BeginUpdate();
exg2antt1.DefaultItemHeight = 22;
exg2antt1.Columns.Add("Task");
exg2antt1.ScrollBySingleLine = true;
exg2antt1.DrawGridLines = exontrol.EXG2ANTTLib.GridLinesEnum.exAllLines;
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.DrawGridLines = exontrol.EXG2ANTTLib.GridLinesEnum.exAllLines;
	var_Chart.set_PaneWidth(false,48);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/28/2000",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.Bars.Copy("Task","NTask").OverlaidType = exontrol.EXG2ANTTLib.OverlaidBarsTypeEnum.exOverlaidBarsStackAutoArrange | exontrol.EXG2ANTTLib.OverlaidBarsTypeEnum.exOverlaidBarsStack;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h1 = var_Items.AddItem("Default");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A1",null);
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("1/3/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A2",null);
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A3",null);
	int h2 = var_Items.AddItem("Overlaid");
	var_Items.AddBar(h2,"NTask",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A1",null);
	var_Items.AddBar(h2,"NTask",Convert.ToDateTime("1/3/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A2",null);
	var_Items.AddBar(h2,"NTask",Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A3",null);
	var_Items.GroupBars(h1,"A1",true,h2,"A1",true,null,null);
	var_Items.GroupBars(h1,"A1",false,h2,"A1",false,null,null);
	var_Items.GroupBars(h1,"A2",true,h2,"A2",true,null,null);
	var_Items.GroupBars(h1,"A2",false,h2,"A2",false,null,null);
	var_Items.GroupBars(h1,"A3",true,h2,"A3",true,null,null);
	var_Items.GroupBars(h1,"A3",false,h2,"A3",false,null,null);
exg2antt1.EndUpdate();

1149
Is it possible to layer bars on top of other bars (have different colurs so that they can be seen)

exg2antt1.BeginUpdate();
exg2antt1.DefaultItemHeight = 22;
exg2antt1.Columns.Add("Task");
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.set_PaneWidth(false,48);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/28/2000",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.Bars.Copy("Task","NTask").OverlaidType = exontrol.EXG2ANTTLib.OverlaidBarsTypeEnum.exOverlaidBarsOffset;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h1 = var_Items.AddItem("Default");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A1",null);
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("1/3/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A2",null);
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A3",null);
	int h2 = var_Items.AddItem("Overlaid");
	var_Items.AddBar(h2,"NTask",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A1",null);
	var_Items.AddBar(h2,"NTask",Convert.ToDateTime("1/3/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A2",null);
	var_Items.AddBar(h2,"NTask",Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A3",null);
	var_Items.GroupBars(h1,"A1",true,h2,"A1",true,null,null);
	var_Items.GroupBars(h1,"A1",false,h2,"A1",false,null,null);
	var_Items.GroupBars(h1,"A2",true,h2,"A2",true,null,null);
	var_Items.GroupBars(h1,"A2",false,h2,"A2",false,null,null);
	var_Items.GroupBars(h1,"A3",true,h2,"A3",true,null,null);
	var_Items.GroupBars(h1,"A3",false,h2,"A3",false,null,null);
exg2antt1.EndUpdate();

1148
My skin(EBN) bars are not shown a different color in the overview. What can I do

exg2antt1.BeginUpdate();
exg2antt1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.Bars["Task"].Color32 = 0x1000000;
	var_Chart.set_PaneWidth(false,48);
	var_Chart.OverviewVisible = exontrol.EXG2ANTTLib.OverviewVisibleEnum.exOverviewShowAllVisible;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/11/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
exg2antt1.Columns.Add("Column");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Task 1");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),1,null);
	var_Items.AddBar(h,"Task",Convert.ToDateTime("2/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("2/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),2,null);
	var_Items.set_ItemBar(h,2,exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarColor,16776960);
	h = var_Items.AddItem("Task 2");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("2/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("2/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
	var_Items.set_ItemBar(h,"",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarColor,255);
exg2antt1.EndUpdate();

1147
How do I colour the lines in the overview section to match the bars they represent on the main chart

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.set_PaneWidth(false,48);
	var_Chart.OverviewVisible = exontrol.EXG2ANTTLib.OverviewVisibleEnum.exOverviewShowAllVisible;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
exg2antt1.Columns.Add("Column");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Task 1");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),1,null);
	var_Items.AddBar(h,"Task",Convert.ToDateTime("2/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("2/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),2,null);
	h = var_Items.AddItem("Task 2");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("2/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("2/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
	var_Items.set_ItemBar(h,"",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarColor,255);
exg2antt1.EndUpdate();

1146
How do I catch the delete key (down) on a bar
// KeyDown event - Occurs when the user presses a key while an object has the focus.
private void exg2antt1_KeyDown(object sender,ref short   KeyCode,short   Shift)
{
	System.Diagnostics.Debug.Print( KeyCode.ToString() );
	System.Diagnostics.Debug.Print( Shift.ToString() );
}
//this.exg2antt1.KeyDown += new exontrol.EXG2ANTTLib.exg2antt.KeyDownEventHandler(this.exg2antt1_KeyDown);

exg2antt1.BeginUpdate();
exg2antt1.Columns.Add("Task");
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/27/2000",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,48);
	exontrol.EXG2ANTTLib.Bar var_Bar = var_Chart.Bars["Task"];
		var_Bar.Pattern = exontrol.EXG2ANTTLib.PatternEnum.exPatternBox;
		var_Bar.Height = 13;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Task 1");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1","This is a bit of text that is not clipped");
	h = var_Items.AddItem("Task 1");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1","This is a bit of text that get's clipped");
	var_Items.set_ItemBar(h,"K1",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarHAlignCaption,3);
	var_Items.set_ItemBar(h,"K1",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarToolTip,var_Items.get_ItemBar(h,"K1",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarCaption));
exg2antt1.EndUpdate();

1145
Is it possible to colour a particular column, I mean the cell's foreground color
exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.ConditionalFormat var_ConditionalFormat = exg2antt1.ConditionalFormats.Add("1",null);
	var_ConditionalFormat.ForeColor = Color.FromArgb(255,0,0);
	var_ConditionalFormat.ApplyTo = (exontrol.EXG2ANTTLib.FormatApplyToEnum)0x1;
exg2antt1.MarkSearchColumn = false;
exontrol.EXG2ANTTLib.Columns var_Columns = exg2antt1.Columns;
	var_Columns.Add("Column 1");
	var_Columns.Add("Column 2");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.set_CellValue(var_Items.AddItem(0),1,1);
	var_Items.set_CellValue(var_Items.AddItem(2),1,3);
	var_Items.set_CellValue(var_Items.AddItem(4),1,5);
exg2antt1.EndUpdate();

1144
Is it possible to colour a particular column for specified values
exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.ConditionalFormat var_ConditionalFormat = exg2antt1.ConditionalFormats.Add("int(%1) in (3,4,5)",null);
	var_ConditionalFormat.BackColor = Color.FromArgb(255,0,0);
	var_ConditionalFormat.ApplyTo = (exontrol.EXG2ANTTLib.FormatApplyToEnum)0x1;
exg2antt1.MarkSearchColumn = false;
exontrol.EXG2ANTTLib.Columns var_Columns = exg2antt1.Columns;
	var_Columns.Add("Column 1");
	var_Columns.Add("Column 2");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.set_CellValue(var_Items.AddItem(0),1,1);
	var_Items.set_CellValue(var_Items.AddItem(2),1,3);
	var_Items.set_CellValue(var_Items.AddItem(4),1,5);
exg2antt1.EndUpdate();

1143
Is it possible to colour a particular column
exg2antt1.BeginUpdate();
exg2antt1.MarkSearchColumn = false;
exontrol.EXG2ANTTLib.Columns var_Columns = exg2antt1.Columns;
	var_Columns.Add("Column 1");
	(var_Columns.Add("Column 2") as exontrol.EXG2ANTTLib.Column).set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellBackColor,255);
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.set_CellValue(var_Items.AddItem(0),1,1);
	var_Items.set_CellValue(var_Items.AddItem(2),1,3);
	var_Items.set_CellValue(var_Items.AddItem(4),1,5);
exg2antt1.EndUpdate();

1142
How do i get all the children items that are under a certain parent Item handle
exg2antt1.BeginUpdate();
exg2antt1.LinesAtRoot = exontrol.EXG2ANTTLib.LinesAtRootEnum.exLinesAtRoot;
exg2antt1.Columns.Add("P");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Root");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);
exontrol.EXG2ANTTLib.Items var_Items1 = exg2antt1.Items;
	int hChild = var_Items1.get_ItemChild(var_Items1.FirstVisibleItem);
	System.Diagnostics.Debug.Print( var_Items1.get_CellValue(hChild,0).ToString() );
	System.Diagnostics.Debug.Print( var_Items1.get_CellValue(var_Items1.get_NextSiblingItem(hChild),0).ToString() );
exg2antt1.EndUpdate();

1141
How can I access the control's scroll bar so I can change its appearance
exg2antt1.BeginUpdate();
exg2antt1.Chart.set_PaneWidth(false,0);
exg2antt1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
exg2antt1.set_Background32(exontrol.EXG2ANTTLib.BackgroundPartEnum.exHSThumb,0x1000000);
exg2antt1.EndUpdate();

1140
How can I show my bars using the parts of the current theme
exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Appearance var_Appearance = exg2antt1.VisualAppearance;
	var_Appearance.Add(1,"XP:Button 1 1");
	var_Appearance.Add(2,"XP:Button 1 2");
	var_Appearance.Add(3,"XP:ScrollBar 3 1");
	var_Appearance.Add(4,"XP:ScrollBar 3 2");
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.set_PaneWidth(false,48);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	exontrol.EXG2ANTTLib.Bars var_Bars = var_Chart.Bars;
		var_Bars.Add("B1").Color32 = 0x1000000;
		var_Bars.Add("B2").Color32 = 0x2000000;
		var_Bars.Add("S1").Color32 = 0x3000000;
		var_Bars.Add("S2").Color32 = 0x4000000;
exg2antt1.Columns.Add("Column");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Button1"),"B1",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Button 2"),"B2",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Scrollbar 1"),"S1",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Scrollbar 2"),"S2",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
exg2antt1.EndUpdate();

1139
How do I hide the text on a bar if the text is to big for the bar length

exg2antt1.Columns.Add("Task");
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/27/2000",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,48);
	exontrol.EXG2ANTTLib.Bar var_Bar = var_Chart.Bars["Task"];
		var_Bar.Pattern = exontrol.EXG2ANTTLib.PatternEnum.exPatternBox;
		var_Bar.Height = 13;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Task 1");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1","This is a bit of text that is not clipped");
	h = var_Items.AddItem("Task 1");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1","This is a bit of text that get's clipped");
	var_Items.set_ItemBar(h,"K1",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarHAlignCaption,3);
	var_Items.set_ItemBar(h,"K1",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarToolTip,var_Items.get_ItemBar(h,"K1",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarCaption));

1138
Is it possible to change the color for non-working parts of the bar

exg2antt1.BeginUpdate();
exg2antt1.Columns.Add("Task");
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,48);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.Bars.Add("Task:Split").Shortcut = "Task";
	var_Chart.NonworkingDaysColor = Color.FromArgb(240,250,240);
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Task 1"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/16/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	int h = var_Items.AddItem("Task 2");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/16/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
	var_Items.set_ItemBar(h,"",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarNonWorkingColor,65280);
exg2antt1.EndUpdate();

1137
Is it possible to change the color for the percent bar being displayed inside a specified bar only

exg2antt1.Columns.Add("Task");
exg2antt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exg2antt1.Chart.Bars.Add("Task%Progress");
exg2antt1.Chart.set_PaneWidth(false,48);
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Task 1");
	var_Items.AddBar(h,"Task%Progress",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.set_ItemBar(h,"K1",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarPercent,0.4);
	h = var_Items.AddItem("Task 2");
	var_Items.AddBar(h,"Task%Progress",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.set_ItemBar(h,"K1",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarPercent,0.5);
	var_Items.set_ItemBar(h,"K1",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarPercentColor,255);

1136
How do I get a handle on the item before adding the bar
exg2antt1.BeginUpdate();
exg2antt1.MarkSearchColumn = false;
exg2antt1.OnResizeControl = exontrol.EXG2ANTTLib.OnResizeControlEnum.exResizeChart;
exg2antt1.Columns.Add("Tasks");
(exg2antt1.Columns.Add("Start") as exontrol.EXG2ANTTLib.Column).Visible = false;
(exg2antt1.Columns.Add("End") as exontrol.EXG2ANTTLib.Column).Visible = false;
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("9/20/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,64);
	var_Chart.LevelCount = 2;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h1 = var_Items.AddItem("Task 0");
	var_Items.set_CellValue(h1,1,Convert.ToDateTime("9/21/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_CellValue(h1,2,Convert.ToDateTime("9/24/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddBar(h1,"Task",var_Items.get_CellValue(h1,1),var_Items.get_CellValue(h1,2),null,null);
	int h2 = var_Items.InsertItem(h,null,"Task 1");
	var_Items.set_CellValue(h2,1,Convert.ToDateTime("9/25/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_CellValue(h2,2,Convert.ToDateTime("9/28/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddBar(h2,"Task",var_Items.get_CellValue(h2,1),var_Items.get_CellValue(h2,2),null,null);
	int h3 = var_Items.InsertItem(h,null,"Task 2");
	var_Items.set_CellValue(h3,1,Convert.ToDateTime("9/29/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_CellValue(h3,2,Convert.ToDateTime("10/2/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddBar(h3,"Task",var_Items.get_CellValue(h3,1),var_Items.get_CellValue(h3,2),null,null);
	var_Items.AddItem(var_Items.ItemCount);
exg2antt1.EndUpdate();

1135
Is there an Items method that I can use to loop around to compare the item's user data against
exg2antt1.Columns.Add("Default");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.set_ItemData(var_Items.InsertItem(h,null,"Child 2"),1234);
	var_Items.set_ExpandItem(h,true);
	var_Items.set_ItemBold(var_Items.get_FindItemData(1234,null),true);

1134
How do I make the tooltip box wider to allow for longer text

exg2antt1.ToolTipWidth = 328;
exg2antt1.Columns.Add("Task");
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,48);
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Task 1");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.set_ItemBar(h,"K1",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarToolTip,"This is a bit of text that's displayed when the cursor hovers the bar");

1133
How do i set the default timeslots to say hours or minutes

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,48);
	var_Chart.OverviewVisible = exontrol.EXG2ANTTLib.OverviewVisibleEnum.exOverviewShowAllVisible;
	var_Chart.LevelCount = 2;
	var_Chart.AllowOverviewZoom = exontrol.EXG2ANTTLib.OverviewZoomEnum.exAlwaysZoom;
	var_Chart.OverviewZoomUnit = 24;
	var_Chart.OverviewZoomCaption = "Y|½Y|¼Y|Mo|T|W|D|H|Mi|S";
	var_Chart.UnitScale = exontrol.EXG2ANTTLib.UnitEnum.exMinute;
exg2antt1.Columns.Add("Column");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Item 1"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Item 2"),"Task",Convert.ToDateTime("1/16/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/25/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Item 3"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Item 4"),"Task",Convert.ToDateTime("2/16/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("2/25/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
exg2antt1.EndUpdate();

1132
Can I use icons or images in the text in the overview zoom buttons (Sec., Min., Hour, Month...)

exg2antt1.BeginUpdate();
exg2antt1.set_HTMLPicture("pic1","c:\\exontrol\\images\\zipdisk.gif");
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,48);
	var_Chart.OverviewVisible = exontrol.EXG2ANTTLib.OverviewVisibleEnum.exOverviewShowAllVisible;
	var_Chart.LevelCount = 2;
	var_Chart.AllowOverviewZoom = exontrol.EXG2ANTTLib.OverviewZoomEnum.exAlwaysZoom;
	var_Chart.OverviewZoomUnit = 24;
	var_Chart.OverviewHeight = 58;
	var_Chart.OverviewZoomCaption = "Y<br>e<br>a<br>r|½Y|¼Y|M<br>o<br>n<br>t<br>h|T|W<br>e<br>e<br>w|<img>pic1:28<img>|H<br>o<br>u<br>r|M<br>i<br>n|S<br>e<br>c";
exg2antt1.Columns.Add("Column");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Item 1"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Item 2"),"Task",Convert.ToDateTime("1/16/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/25/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Item 3"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Item 4"),"Task",Convert.ToDateTime("2/16/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("2/25/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
exg2antt1.EndUpdate();

1131
Can I use icons or images in the text in the overview zoom buttons (Sec., Min., Hour, Month...)

exg2antt1.BeginUpdate();
exg2antt1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,48);
	var_Chart.OverviewVisible = exontrol.EXG2ANTTLib.OverviewVisibleEnum.exOverviewShowAllVisible;
	var_Chart.LevelCount = 2;
	var_Chart.AllowOverviewZoom = exontrol.EXG2ANTTLib.OverviewZoomEnum.exAlwaysZoom;
	var_Chart.OverviewZoomUnit = 24;
	var_Chart.OverviewZoomCaption = "Y|½Y|¼Y|<img>2<img>|T|W|<img>1<img>|H|M|S";
exg2antt1.Columns.Add("Column");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Item 1"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Item 2"),"Task",Convert.ToDateTime("1/16/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/25/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Item 3"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Item 4"),"Task",Convert.ToDateTime("2/16/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("2/25/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
exg2antt1.EndUpdate();

1130
How do I change (for localisation) the text in the buttons like (Sec., Min., Hour, Month...)
exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,48);
	var_Chart.OverviewVisible = exontrol.EXG2ANTTLib.OverviewVisibleEnum.exOverviewShowAllVisible;
	var_Chart.LevelCount = 2;
	var_Chart.AllowOverviewZoom = exontrol.EXG2ANTTLib.OverviewZoomEnum.exAlwaysZoom;
	var_Chart.OverviewZoomUnit = 24;
	var_Chart.OverviewZoomCaption = "Y|½Y|¼Y|Mo|T|W|D|H|Mi|S";
exg2antt1.Columns.Add("Column");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Item 1"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Item 2"),"Task",Convert.ToDateTime("1/16/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/25/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Item 3"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Item 4"),"Task",Convert.ToDateTime("2/16/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("2/25/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
exg2antt1.EndUpdate();

1129
How I can change the Months and Weekdays

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.set_PaneWidth(false,0);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("2/1/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.UnitWidth = 10;
	var_Chart.MonthNames = "1 2 3 4 5 6 7 8 9 10 11 12";
	var_Chart.WeekDays = "A B C D E F G";
	exontrol.EXG2ANTTLib.Level var_Level = var_Chart.get_Level(0);
		var_Level.Label = "<%mmmm%>";
		var_Level.Unit = exontrol.EXG2ANTTLib.UnitEnum.exMonth;
	exontrol.EXG2ANTTLib.Level var_Level1 = var_Chart.get_Level(1);
		var_Level1.Label = "<font ;6><%ddd%>";
		var_Level1.Unit = exontrol.EXG2ANTTLib.UnitEnum.exDay;
exg2antt1.EndUpdate();

1128
How do i get the current window time frame (the start and end) of the gantt chart
// DateChange event - Occurs when the first visible date is changed.
private void exg2antt1_DateChange(object sender)
{
	exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
		System.Diagnostics.Debug.Print( "Start" );
		System.Diagnostics.Debug.Print( var_Chart.FirstVisibleDate.ToString() );
		System.Diagnostics.Debug.Print( "" );
		System.Diagnostics.Debug.Print( "End" );
		System.Diagnostics.Debug.Print( var_Chart.get_DateFromPoint(var_Chart.get_PaneWidth(true),0).ToString() );
}
//this.exg2antt1.DateChange += new exontrol.EXG2ANTTLib.exg2antt.DateChangeEventHandler(this.exg2antt1_DateChange);

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.set_PaneWidth(false,1);
	var_Chart.LevelCount = 2;
	var_Chart.ScrollTo(Convert.ToDateTime("1/1/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),0);
exg2antt1.EndUpdate();

1127
When I use this Chart.get_DateFromPoint(exg2antt1.Width, 0) I get date as 0, 30/12/1899, or 12:00:00 AM. What that means
// MouseMove event - Occurs when the user moves the mouse.
private void exg2antt1_MouseMoveEvent(object sender,short   Button,short   Shift,int   X,int   Y)
{
	System.Diagnostics.Debug.Print( exg2antt1.Chart.get_DateFromPoint(-1,-1).ToString() );
}
//this.exg2antt1.MouseMoveEvent += new exontrol.EXG2ANTTLib.exg2antt.MouseMoveEventHandler(this.exg2antt1_MouseMoveEvent);

exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.set_PaneWidth(false,48);
	var_Chart.LevelCount = 2;

1126
How do I enable grabing bars to other items/rows (and only enable them to be dropped on certain rows)
// BarParentChange event - Occurs just before moving a bar from current item to another item.
private void exg2antt1_BarParentChange(object sender,int   Item,object   Key,int   NewItem,ref bool   Cancel)
{
	System.Diagnostics.Debug.Print( exg2antt1.Items.get_CellCaption(NewItem,0) );
	Cancel = exg2antt1.Items.get_ItemData(NewItem);
}
//this.exg2antt1.BarParentChange += new exontrol.EXG2ANTTLib.exg2antt.BarParentChangeEventHandler(this.exg2antt1_BarParentChange);

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,48);
	var_Chart.AllowLinkBars = false;
	var_Chart.Bars["Task"].OverlaidType = exontrol.EXG2ANTTLib.OverlaidBarsTypeEnum.exOverlaidBarsTransparent | exontrol.EXG2ANTTLib.OverlaidBarsTypeEnum.exOverlaidBarsOffset;
exg2antt1.Columns.Add("Column");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Item 1");
	var_Items.set_EnableItem(h,false);
	var_Items.set_ItemData(h,-1);
	h = var_Items.AddItem("Item 2");
	var_Items.set_ItemData(h,0);
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"B",null);
	var_Items.set_ItemBar(h,"B",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarCanMoveToAnother,true);
	var_Items.set_ItemData(var_Items.AddItem("Item 3"),0);
	h = var_Items.AddItem("Item 4");
	var_Items.set_EnableItem(h,false);
	var_Items.set_ItemData(h,-1);
exg2antt1.EndUpdate();

1125
How can I find out if a date time is a non-working part
// MouseMove event - Occurs when the user moves the mouse.
private void exg2antt1_MouseMoveEvent(object sender,short   Button,short   Shift,int   X,int   Y)
{
	int h = exg2antt1.get_ItemFromPoint(-1,-1,c,hit);
	Date d = exg2antt1.Chart.get_DateFromPoint(-1,-1);
	System.Diagnostics.Debug.Print( d.ToString() );
	System.Diagnostics.Debug.Print( exg2antt1.Chart.get_IsNonworkingDate(d,h).ToString() );
}
//this.exg2antt1.MouseMoveEvent += new exontrol.EXG2ANTTLib.exg2antt.MouseMoveEventHandler(this.exg2antt1_MouseMoveEvent);

exg2antt1.BeginUpdate();
exg2antt1.Columns.Add("NonWorking");
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstWeekDay = exontrol.EXG2ANTTLib.WeekDayEnum.exMonday;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/24/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,64);
	var_Chart.LevelCount = 2;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Default");
	h = var_Items.AddItem("January");
	var_Items.set_ItemNonworkingUnits(h,false,"month(value) = 1");
	h = var_Items.AddItem("February, Saturday, Sunday");
	var_Items.set_ItemNonworkingUnits(h,false,"month(value) = 2 or (weekday(value) = 0 or weekday(value) = 6)");
	h = var_Items.AddItem("Sunday");
	var_Items.set_ItemNonworkingUnits(h,false,"weekday(value) = 0");
exg2antt1.EndUpdate();

1124
I am using the ItemBar property exBarCanMoveToAnother, How do I stop it from being dropped on certain chart rows
// BarParentChange event - Occurs just before moving a bar from current item to another item.
private void exg2antt1_BarParentChange(object sender,int   Item,object   Key,int   NewItem,ref bool   Cancel)
{
	System.Diagnostics.Debug.Print( exg2antt1.Items.get_CellCaption(NewItem,0) );
	Cancel = exg2antt1.Items.get_ItemData(NewItem);
}
//this.exg2antt1.BarParentChange += new exontrol.EXG2ANTTLib.exg2antt.BarParentChangeEventHandler(this.exg2antt1_BarParentChange);

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,48);
	var_Chart.AllowLinkBars = false;
	var_Chart.Bars["Task"].OverlaidType = exontrol.EXG2ANTTLib.OverlaidBarsTypeEnum.exOverlaidBarsTransparent | exontrol.EXG2ANTTLib.OverlaidBarsTypeEnum.exOverlaidBarsOffset;
exg2antt1.Columns.Add("Column");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Item 1");
	var_Items.set_EnableItem(h,false);
	var_Items.set_ItemData(h,-1);
	h = var_Items.AddItem("Item 2");
	var_Items.set_ItemData(h,0);
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"B",null);
	var_Items.set_ItemBar(h,"B",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarCanMoveToAnother,true);
	var_Items.set_ItemData(var_Items.AddItem("Item 3"),0);
	var_Items.set_ItemData(var_Items.AddItem("Item 4"),0);
exg2antt1.EndUpdate();

1123
What is the event I should use to capture the click event on the task item on left hand side
// Click event - Occurs when the user presses and then releases the left mouse button over the tree control.
private void exg2antt1_Click(object sender)
{
	int h = exg2antt1.get_ItemFromPoint(-1,-1,c,hit);
	System.Diagnostics.Debug.Print( exg2antt1.Items.get_CellCaption(h,c) );
}
//this.exg2antt1.Click += new exontrol.EXG2ANTTLib.exg2antt.ClickEventHandler(this.exg2antt1_Click);

exg2antt1.BeginUpdate();
exg2antt1.LinesAtRoot = exontrol.EXG2ANTTLib.LinesAtRootEnum.exLinesAtRoot;
exg2antt1.Columns.Add("Items");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("R1");
	var_Items.InsertItem(h,null,"Cell 1.1");
	var_Items.InsertItem(h,null,"Cell 1.2");
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("R2");
	var_Items.InsertItem(h,null,"Cell 2.1");
	var_Items.InsertItem(h,null,"Cell 2.2");
	var_Items.set_ExpandItem(h,true);
exg2antt1.EndUpdate();

1122
Can I add a hyperlink assigned to a bar

// AnchorClick event - Occurs when an anchor element is clicked.
private void exg2antt1_AnchorClick(object sender,string   AnchorID,string   Options)
{
	System.Diagnostics.Debug.Print( AnchorID.ToString() );
}
//this.exg2antt1.AnchorClick += new exontrol.EXG2ANTTLib.exg2antt.AnchorClickEventHandler(this.exg2antt1_AnchorClick);

exg2antt1.BeginUpdate();
exg2antt1.Columns.Add("Task");
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,48);
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Task 1");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K",null);
	var_Items.set_ItemBar(h,"K",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarCaption,"default");
	var_Items.set_ItemBar(h,"K",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarHAlignCaption,18);
	h = var_Items.AddItem("Task 2");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K",null);
	var_Items.set_ItemBar(h,"K",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarCaption,"<a1><b>A 1</b></a>");
	var_Items.set_ItemBar(h,"K",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarHAlignCaption,18);
	h = var_Items.AddItem("Task 3");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K",null);
	var_Items.set_ItemBar(h,"K",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarCaption,"<a2><b>A 2</b></a>");
	var_Items.set_ItemBar(h,"K",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarHAlignCaption,18);
exg2antt1.EndUpdate();

1121
Can I change the background color only for the text (caption) in a bar

exg2antt1.BeginUpdate();
exg2antt1.Columns.Add("Task");
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,48);
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Task 1");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K",null);
	var_Items.set_ItemBar(h,"K",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarCaption,"default");
	var_Items.set_ItemBar(h,"K",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarHAlignCaption,18);
	h = var_Items.AddItem("Task 2");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K",null);
	var_Items.set_ItemBar(h,"K",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarCaption,"using <bgcolor=FF0000>bgcolor</bgcolor> HTML attribute ");
	var_Items.set_ItemBar(h,"K",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarHAlignCaption,18);
exg2antt1.EndUpdate();

1120
Can I change the font to display the text (caption) in a bar

exg2antt1.BeginUpdate();
exg2antt1.Columns.Add("Task");
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,48);
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Task 1");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K",null);
	var_Items.set_ItemBar(h,"K",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarCaption,"default");
	var_Items.set_ItemBar(h,"K",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarHAlignCaption,18);
	h = var_Items.AddItem("Task 2");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K",null);
	var_Items.set_ItemBar(h,"K",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarCaption,"<font Segoe UI;8 >using font HTML attribute </fgcolor>");
	var_Items.set_ItemBar(h,"K",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarHAlignCaption,18);
exg2antt1.EndUpdate();

1119
How do i change the forecolor of text (caption) in a bar

exg2antt1.BeginUpdate();
exg2antt1.Columns.Add("Task");
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,48);
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Task 1");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K",null);
	var_Items.set_ItemBar(h,"K",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarCaption,"default");
	var_Items.set_ItemBar(h,"K",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarHAlignCaption,18);
	h = var_Items.AddItem("Task 2");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K",null);
	var_Items.set_ItemBar(h,"K",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarCaption,"<fgcolor=FF0000>using fgcolor HTML attribute </fgcolor>");
	var_Items.set_ItemBar(h,"K",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarHAlignCaption,18);
	h = var_Items.AddItem("Task 3");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K",null);
	var_Items.set_ItemBar(h,"K",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarCaption,"using exBarForeColor");
	var_Items.set_ItemBar(h,"K",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarHAlignCaption,18);
	var_Items.set_ItemBar(h,"K",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarForeColor,65280);
exg2antt1.EndUpdate();

1118
I have noticed that when scrolling horizontally the chart a tooltip shown. is it possible to actually do the scrolling without showing the tooltip
exg2antt1.BeginUpdate();
exg2antt1.Columns.Add("Tasks");
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("6/20/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.AllowLinkBars = true;
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,48);
	var_Chart.ToolTip = "";
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Task 1"),"Task",Convert.ToDateTime("6/21/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("6/25/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A",null);
	var_Items.AddBar(var_Items.AddItem("Task 2"),"Task",Convert.ToDateTime("6/28/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("7/2/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"B",null);
exg2antt1.EndUpdate();

1117
How can I add a bar to be treated as a nonworking part like a "holidays" bar

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,48);
	var_Chart.AllowNonworkingBars = true;
	var_Chart.Bars.Add("Task:Split").Shortcut = "Task";
exg2antt1.Columns.Add("Tasks");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Task 1");
	var_Items.set_ItemNonworkingUnits(h,false,"weekday(value) in (0,6)");
	var_Items.AddBar(h,"",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A","holyday");
	var_Items.set_ItemBar(h,"A",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarTreatAsNonworking,true);
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/12/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"Z",null);
	var_Items.set_ItemBar(h,"Z",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarKeepWorkingCount,true);
exg2antt1.EndUpdate();

1116
Is it possible to add bars that act like a non-working fixed part or the item

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,48);
	var_Chart.AllowNonworkingBars = true;
exg2antt1.Columns.Add("Tasks");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Task 1");
	var_Items.set_ItemNonworkingUnits(h,false,"weekday(value) in (0,6)");
	var_Items.AddBar(h,"",Convert.ToDateTime("1/3/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"h","holyday");
	var_Items.set_ItemBar(h,"h",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarTreatAsNonworking,true);
	var_Items.set_ItemBar(h,"h",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarSelectable,false);
exg2antt1.EndUpdate();

1115
Is it possible to add bars that act like a non-working part or the item

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,48);
	var_Chart.AllowNonworkingBars = true;
exg2antt1.Columns.Add("Tasks");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Task 1");
	var_Items.set_ItemNonworkingUnits(h,false,"weekday(value) in (0,6)");
	var_Items.AddBar(h,"",Convert.ToDateTime("1/3/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"h","holyday");
	var_Items.set_ItemBar(h,"h",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarTreatAsNonworking,true);
exg2antt1.EndUpdate();

1114
How can I change the both dates for the bar at once
exg2antt1.BeginUpdate();
exg2antt1.Columns.Add("Tasks");
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.set_PaneWidth(false,64);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("6/21/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.ShowEmptyBars = 1;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Test");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("6/22/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("6/26/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
	var_Items.AddBar(h,"Task",Convert.ToDateTime("6/27/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("6/29/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
exg2antt1.EndUpdate();

1113
How can I get the selected bars in the chart

// ChartSelectionChanged event - Occurs when the user selects objects in the chart area.
private void exg2antt1_ChartSelectionChanged(object sender)
{
	System.Diagnostics.Debug.Print( exg2antt1.Items.get_SelectedObjects(exontrol.EXG2ANTTLib.SelectObjectsEnum.exSelectBarsOnly).ToString() );
}
//this.exg2antt1.ChartSelectionChanged += new exontrol.EXG2ANTTLib.exg2antt.ChartSelectionChangedEventHandler(this.exg2antt1_ChartSelectionChanged);

exg2antt1.BeginUpdate();
exg2antt1.Columns.Add("Tasks");
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("6/20/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.AllowLinkBars = true;
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,48);
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Task 1"),"Task",Convert.ToDateTime("6/21/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("6/25/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A",null);
	var_Items.AddBar(var_Items.AddItem("Task 2"),"Task",Convert.ToDateTime("6/28/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("7/2/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"B",null);
	var_Items.set_ItemBar(var_Items.FirstVisibleItem,var_Items.get_FirstItemBar(var_Items.FirstVisibleItem),exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarSelected,true);
exg2antt1.EndUpdate();

1112
How can I list the actions that can be performed by undo operations
// ChartEndChanging event - Occurs after the chart has been changed.
private void exg2antt1_ChartEndChanging(object sender,exontrol.EXG2ANTTLib.BarOperationEnum   Operation)
{
	System.Diagnostics.Debug.Print( exg2antt1.Chart.get_UndoListAction(null,null) );
}
//this.exg2antt1.ChartEndChanging += new exontrol.EXG2ANTTLib.exg2antt.ChartEndChangingEventHandler(this.exg2antt1_ChartEndChanging);

exg2antt1.BeginUpdate();
exg2antt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exg2antt1.Chart.AllowLinkBars = false;
exg2antt1.Chart.Bars["Task"].OverlaidType = exontrol.EXG2ANTTLib.OverlaidBarsTypeEnum.exOverlaidBarsTransparent | exontrol.EXG2ANTTLib.OverlaidBarsTypeEnum.exOverlaidBarsOffset;
exg2antt1.Chart.AllowUndoRedo = true;
exg2antt1.Chart.set_PaneWidth(false,32);
exg2antt1.Chart.Bars.Add("Task:Split").Shortcut = "Task";
exg2antt1.Columns.Add("Column");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Item 1"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A",null);
	int h = var_Items.AddItem("Item 2");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/9/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"B",null);
	var_Items.set_ItemBar(h,"B",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarCanMoveToAnother,true);
	var_Items.set_ItemBar(h,"B",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarKeepWorkingCount,true);
	var_Items.set_ItemNonworkingUnits(var_Items.AddItem("Item 3"),false,"weekday(value)=0");
	var_Items.set_ItemNonworkingUnits(var_Items.AddItem("Item 4"),false,"weekday(value) in (3,5)");
exg2antt1.EndUpdate();

1111
How can I change the predefined labels being displayed in the chart's header so it shows the data in short format with no literals

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.set_PaneWidth(false,0);
	var_Chart.AllowOverviewZoom = exontrol.EXG2ANTTLib.OverviewZoomEnum.exAlwaysZoom;
	var_Chart.OverviewVisible = exontrol.EXG2ANTTLib.OverviewVisibleEnum.exOverviewShowAllVisible;
	var_Chart.LevelCount = 3;
	var_Chart.set_Label(exontrol.EXG2ANTTLib.UnitEnum.exYear,"<%yy%><|><%yyyy%>");
	var_Chart.set_Label(exontrol.EXG2ANTTLib.UnitEnum.exHalfYear,"");
	var_Chart.set_Label(exontrol.EXG2ANTTLib.UnitEnum.exQuarterYear,"");
	var_Chart.set_Label(exontrol.EXG2ANTTLib.UnitEnum.exMonth,"<|><%m%><|><%m%>/<%yy%><|><%m%>/<%yyyy%>");
	var_Chart.set_Label(exontrol.EXG2ANTTLib.UnitEnum.exThirdMonth,"");
	var_Chart.set_Label(exontrol.EXG2ANTTLib.UnitEnum.exWeek,"<|><%ww%><|><%m%>/<%d%>/<%yy%><r><%ww%><|><%m%>/<%d%>/<%yyyy%><r><%ww%><||><||>256");
	var_Chart.set_Label(exontrol.EXG2ANTTLib.UnitEnum.exDay,"<|><%d%><|><%m%>/<%d%>/<%yy%><|><%m%>/<%d%>/<%yyyy%><||><||>4096");
	var_Chart.set_Label(exontrol.EXG2ANTTLib.UnitEnum.exHour,"<|><%hh%><|><%m%>/<%d%>/<%yy%> <%h%> <%AM/PM%><|><%m%>/<%d%>/<%yyyy%> <%h%> <%AM/PM%><||><||>65536");
	var_Chart.set_Label(exontrol.EXG2ANTTLib.UnitEnum.exMinute,"<|><%nn%><|><%h%>:<%nn% <%AM/PM%>><|><%m%>/<%d%>/<%yy%> <%h%>:<%nn%> <%AM/PM%><|><%m%>/<%d%>/<%yyyy%> <%h%>:<%nn%> <%AM/PM%>");
	var_Chart.set_Label(exontrol.EXG2ANTTLib.UnitEnum.exSecond,"<|><%ss%><|><%nn%>:<%ss%><|><%h%>:<%nn%>:<%ss%> <%AM/PM%><|><%m%>/<%d%>/<%yy%> <%h%>:<%nn%>:<%ss%> <%AM/PM%><|><%m%>/<%d%>/<%yy" +
"yy%> <%h%>:<%nn%>:<%ss%> <%AM/PM%>");
	var_Chart.set_LabelToolTip(exontrol.EXG2ANTTLib.UnitEnum.exYear,"<%yyyy%>");
	var_Chart.set_LabelToolTip(exontrol.EXG2ANTTLib.UnitEnum.exHalfYear,"");
	var_Chart.set_LabelToolTip(exontrol.EXG2ANTTLib.UnitEnum.exQuarterYear,"");
	var_Chart.set_LabelToolTip(exontrol.EXG2ANTTLib.UnitEnum.exMonth,"<%m%>/<%yyyy%>");
	var_Chart.set_LabelToolTip(exontrol.EXG2ANTTLib.UnitEnum.exThirdMonth,"");
	var_Chart.set_LabelToolTip(exontrol.EXG2ANTTLib.UnitEnum.exWeek,"<%m%>/<%d%>/<%yyyy%> <%ww%>");
	var_Chart.set_LabelToolTip(exontrol.EXG2ANTTLib.UnitEnum.exDay,"<%m%>/<%d%>/<%yyyy%>");
	var_Chart.set_LabelToolTip(exontrol.EXG2ANTTLib.UnitEnum.exHour,"<%m%>/<%d%>/<%yyyy%> <%h%> <%AM/PM%>");
	var_Chart.set_LabelToolTip(exontrol.EXG2ANTTLib.UnitEnum.exMinute,"<%m%>/<%d%>/<%yyyy%> <%h%>:<%nn%> <%AM/PM%>");
	var_Chart.set_LabelToolTip(exontrol.EXG2ANTTLib.UnitEnum.exSecond,"<%m%>/<%d%>/<%yyyy%> <%h%>:<%nn%>:<%ss%> <%AM/PM%>");
	var_Chart.UnitScale = exontrol.EXG2ANTTLib.UnitEnum.exDay;
exg2antt1.EndUpdate();

1110
The histogram does not show (correctly) the bars, even if I changed the Bar.HistogramPattern and Bar.HistogramColor properties. What can be wrong

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.set_PaneWidth(false,48);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/27/2000",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.HistogramVisible = true;
	var_Chart.HistogramHeight = 32;
	exontrol.EXG2ANTTLib.Bar var_Bar = var_Chart.Bars["Task"];
		var_Bar.HistogramPattern = exontrol.EXG2ANTTLib.PatternEnum.exPatternBDiagonal;
		var_Bar.HistogramColor = Color.FromArgb(255,0,0);
	var_Chart.ResizeUnitScale = exontrol.EXG2ANTTLib.UnitEnum.exHour;
exg2antt1.Columns.Add("Column");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Task 1"),"Task",Convert.ToDateTime("1/2/2001 8:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/2/2001 12:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Task 2"),"Task",Convert.ToDateTime("1/1/2001 8:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001 12:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
exg2antt1.EndUpdate();

1109
How can I change the default key for the newly added link from "Link1" to my identifier
// AddLink event - Occurs when the user links two bars using the mouse.
private void exg2antt1_AddLink(object sender,string   LinkKey)
{
	exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
		var_Items.AddLink("newIDlink",var_Items.get_Link(LinkKey,exontrol.EXG2ANTTLib.LinkPropertyEnum.exLinkStartItem),var_Items.get_Link(LinkKey,exontrol.EXG2ANTTLib.LinkPropertyEnum.exLinkStartBar),var_Items.get_Link(LinkKey,exontrol.EXG2ANTTLib.LinkPropertyEnum.exLinkEndItem),var_Items.get_Link(LinkKey,exontrol.EXG2ANTTLib.LinkPropertyEnum.exLinkEndBar));
		var_Items.RemoveLink(LinkKey);
}
//this.exg2antt1.AddLink += new exontrol.EXG2ANTTLib.exg2antt.AddLinkEventHandler(this.exg2antt1_AddLink);

// MouseMove event - Occurs when the user moves the mouse.
private void exg2antt1_MouseMoveEvent(object sender,short   Button,short   Shift,int   X,int   Y)
{
	System.Diagnostics.Debug.Print( exg2antt1.Chart.get_LinkFromPoint(-1,-1).ToString() );
}
//this.exg2antt1.MouseMoveEvent += new exontrol.EXG2ANTTLib.exg2antt.MouseMoveEventHandler(this.exg2antt1_MouseMoveEvent);

exg2antt1.BeginUpdate();
exg2antt1.Columns.Add("Tasks");
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("6/20/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.AllowLinkBars = true;
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,48);
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Task 1"),"Task",Convert.ToDateTime("6/21/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("6/25/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
	var_Items.AddBar(var_Items.AddItem("Task 2"),"Task",Convert.ToDateTime("6/28/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("7/2/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
exg2antt1.EndUpdate();

1108
How can I change the default key for the newly added link from "Link1" to my identifier
// AllowLink event - Notifies at runtime when a link between two bars is possible.
private void exg2antt1_AllowLink(object sender,int   StartItem,object   StartBarKey,int   EndItem,object   EndBarKey,ref object   LinkKey,ref bool   Cancel)
{
	LinkKey = "newIDlink";
}
//this.exg2antt1.AllowLink += new exontrol.EXG2ANTTLib.exg2antt.AllowLinkEventHandler(this.exg2antt1_AllowLink);

// MouseMove event - Occurs when the user moves the mouse.
private void exg2antt1_MouseMoveEvent(object sender,short   Button,short   Shift,int   X,int   Y)
{
	System.Diagnostics.Debug.Print( exg2antt1.Chart.get_LinkFromPoint(-1,-1).ToString() );
}
//this.exg2antt1.MouseMoveEvent += new exontrol.EXG2ANTTLib.exg2antt.MouseMoveEventHandler(this.exg2antt1_MouseMoveEvent);

exg2antt1.BeginUpdate();
exg2antt1.Columns.Add("Tasks");
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("6/20/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.AllowLinkBars = true;
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,48);
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Task 1"),"Task",Convert.ToDateTime("6/21/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("6/25/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
	var_Items.AddBar(var_Items.AddItem("Task 2"),"Task",Convert.ToDateTime("6/28/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("7/2/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
exg2antt1.EndUpdate();

1107
We want to have a Task ID column as the first column that shows the row number. How can we do that
// FormatColumn event - Fired when a cell requires to format its caption.
private void exg2antt1_FormatColumn(object sender,int   Item,int   ColIndex,ref object   Value)
{
	Value = exg2antt1.Items.get_ItemPosition(Item);
}
//this.exg2antt1.FormatColumn += new exontrol.EXG2ANTTLib.exg2antt.FormatColumnEventHandler(this.exg2antt1_FormatColumn);

exg2antt1.BeginUpdate();
exg2antt1.Columns.Add("Task");
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Pos") as exontrol.EXG2ANTTLib.Column);
	var_Column.Width = 24;
	var_Column.AllowSizing = false;
	var_Column.Position = 0;
	var_Column.FireFormatColumn = true;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddItem("Task A");
	var_Items.AddItem("Task B");
	var_Items.AddItem("Task C");
	var_Items.AddItem("Task D");
exg2antt1.EndUpdate();

1106
How can I get the caption of focused item
// SelectionChanged event - Fired after a new item has been selected.
private void exg2antt1_SelectionChanged(object sender)
{
	exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
		System.Diagnostics.Debug.Print( "Handle" );
		System.Diagnostics.Debug.Print( var_Items.FocusItem.ToString() );
		System.Diagnostics.Debug.Print( "Caption" );
		System.Diagnostics.Debug.Print( var_Items.get_CellCaption(var_Items.FocusItem,0) );
}
//this.exg2antt1.SelectionChanged += new exontrol.EXG2ANTTLib.exg2antt.SelectionChangedEventHandler(this.exg2antt1_SelectionChanged);

exg2antt1.BeginUpdate();
exg2antt1.LinesAtRoot = exontrol.EXG2ANTTLib.LinesAtRootEnum.exLinesAtRoot;
exg2antt1.Columns.Add("Items");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("R1");
	var_Items.InsertItem(h,null,"Cell 1.1");
	var_Items.InsertItem(h,null,"Cell 1.2");
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("R2");
	var_Items.InsertItem(h,null,"Cell 2.1");
	var_Items.InsertItem(h,null,"Cell 2.2");
	var_Items.set_ExpandItem(h,true);
exg2antt1.EndUpdate();

1105
How can I get the caption of selected item
// SelectionChanged event - Fired after a new item has been selected.
private void exg2antt1_SelectionChanged(object sender)
{
	exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
		System.Diagnostics.Debug.Print( "Handle" );
		System.Diagnostics.Debug.Print( var_Items.get_SelectedItem(0).ToString() );
		System.Diagnostics.Debug.Print( "Caption" );
		System.Diagnostics.Debug.Print( var_Items.get_CellCaption(var_Items.get_SelectedItem(0),0) );
}
//this.exg2antt1.SelectionChanged += new exontrol.EXG2ANTTLib.exg2antt.SelectionChangedEventHandler(this.exg2antt1_SelectionChanged);

exg2antt1.BeginUpdate();
exg2antt1.LinesAtRoot = exontrol.EXG2ANTTLib.LinesAtRootEnum.exLinesAtRoot;
exg2antt1.Columns.Add("Items");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("R1");
	var_Items.InsertItem(h,null,"Cell 1.1");
	var_Items.InsertItem(h,null,"Cell 1.2");
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("R2");
	var_Items.InsertItem(h,null,"Cell 2.1");
	var_Items.InsertItem(h,null,"Cell 2.2");
	var_Items.set_ExpandItem(h,true);
exg2antt1.EndUpdate();

1104
How can I get the link from the point

// MouseMove event - Occurs when the user moves the mouse.
private void exg2antt1_MouseMoveEvent(object sender,short   Button,short   Shift,int   X,int   Y)
{
	System.Diagnostics.Debug.Print( exg2antt1.Chart.get_LinkFromPoint(-1,-1).ToString() );
}
//this.exg2antt1.MouseMoveEvent += new exontrol.EXG2ANTTLib.exg2antt.MouseMoveEventHandler(this.exg2antt1_MouseMoveEvent);

exg2antt1.BeginUpdate();
exg2antt1.Columns.Add("Task");
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/29/2000",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,64);
	var_Chart.LevelCount = 2;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h1 = var_Items.AddItem("Task 1");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	int h2 = var_Items.AddItem("Task 2");
	var_Items.AddBar(h2,"Task",Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K2",null);
	var_Items.AddLink("L1",h1,"K1",h2,"K2");
	var_Items.set_Link("L1",exontrol.EXG2ANTTLib.LinkPropertyEnum.exLinkText,"L1");
	int h3 = var_Items.AddItem("Task 3");
	var_Items.AddBar(h3,"Task",Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K3",null);
	var_Items.AddLink("L2",h2,"K2",h3,"K3");
	var_Items.set_Link("L2",exontrol.EXG2ANTTLib.LinkPropertyEnum.exLinkText,"L2");
exg2antt1.EndUpdate();

1103
How can I get the bar from the point

// MouseMove event - Occurs when the user moves the mouse.
private void exg2antt1_MouseMoveEvent(object sender,short   Button,short   Shift,int   X,int   Y)
{
	System.Diagnostics.Debug.Print( exg2antt1.Chart.get_BarFromPoint(-1,-1).ToString() );
}
//this.exg2antt1.MouseMoveEvent += new exontrol.EXG2ANTTLib.exg2antt.MouseMoveEventHandler(this.exg2antt1_MouseMoveEvent);

exg2antt1.BeginUpdate();
exg2antt1.Columns.Add("Task");
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/29/2000",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,64);
	var_Chart.LevelCount = 2;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h1 = var_Items.AddItem("Task 1");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	int h2 = var_Items.AddItem("Task 2");
	var_Items.AddBar(h2,"Task",Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K2",null);
	var_Items.AddLink("L1",h1,"K1",h2,"K2");
	int h3 = var_Items.AddItem("Task 3");
	var_Items.AddBar(h3,"Task",Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K3",null);
	var_Items.AddLink("L2",h2,"K2",h3,"K3");
exg2antt1.EndUpdate();

1102
How can I get the level from the cursor

// MouseMove event - Occurs when the user moves the mouse.
private void exg2antt1_MouseMoveEvent(object sender,short   Button,short   Shift,int   X,int   Y)
{
	System.Diagnostics.Debug.Print( exg2antt1.Chart.get_LevelFromPoint(-1,-1).ToString() );
}
//this.exg2antt1.MouseMoveEvent += new exontrol.EXG2ANTTLib.exg2antt.MouseMoveEventHandler(this.exg2antt1_MouseMoveEvent);

exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("6/25/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,0);
	var_Chart.LevelCount = 4;

1101
How can I get the date from the cursor

// MouseMove event - Occurs when the user moves the mouse.
private void exg2antt1_MouseMoveEvent(object sender,short   Button,short   Shift,int   X,int   Y)
{
	System.Diagnostics.Debug.Print( exg2antt1.Chart.get_DateFromPoint(-1,-1).ToString() );
}
//this.exg2antt1.MouseMoveEvent += new exontrol.EXG2ANTTLib.exg2antt.MouseMoveEventHandler(this.exg2antt1_MouseMoveEvent);

exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.set_PaneWidth(false,0);
	var_Chart.LevelCount = 2;